import type { WindowManagerImpl } from '../api/WindowManager';

export default (): WindowManagerImpl => {
  const unimplemented = (): never => {
    throw new Error('Theme did not provide a WindowManager implementation.');
  };

  return {
    open: unimplemented,
    openUrl: unimplemented,
    alert: unimplemented,
    confirm: unimplemented,
    close: unimplemented
  };
};
