export default { async getInitialURL(): Promise { return new URL(document.URL).searchParams.get('initialUrl') ?? ''; }, addEventListener(_type: string, _handler: (event: { url: string }) => void): void { // nop; }, removeEventListener(_type: string, _handler: (event: { url: string }) => void): void { // nop; }, }; export function isVerbose(): boolean { const value = new URL(document.URL).searchParams.get('verbose'); return value === null ? __DEV__ : value === 'true' || value === '1'; }