/// declare const grecaptcha: { ready(callback: () => void): void; execute(siteKey: string, options: { action: string }): Promise; }; declare class NDEFReader { constructor(); scan(): Promise; write(data: any): Promise; addEventListener(type: string, listener: (event: any) => void): void; removeEventListener(type: string, listener: (event: any) => void): void; } interface Window { nostr?: { getPublicKey(): Promise; signEvent(event: any): Promise; nip04?: { encrypt(pubkey: string, plaintext: string): Promise; decrypt(pubkey: string, ciphertext: string): Promise; }; }; maplibregl?: any; AndroidNotch?: { getInsetTop(success: (px: number) => void, error: (err: any) => void): void; getInsetBottom(success: (px: number) => void, error: (err: any) => void): void; getInsetRight(success: (px: number) => void, error: (err: any) => void): void; getInsetLeft(success: (px: number) => void, error: (err: any) => void): void; }; }