import { NostrLoginOptions } from '../types'; import { AuthNostrService, NostrExtensionService, NostrParams } from '.'; import { EventEmitter } from 'tseep'; import { Info, RecentType } from 'nostr-login-components/dist/types/types'; declare class ModalManager extends EventEmitter { private modal; private params; private extensionService; private authNostrService; private launcherPromise?; private accounts; private recents; private opt?; constructor(params: NostrParams, authNostrService: AuthNostrService, extensionManager: NostrExtensionService); waitReady(): Promise; launch(opt: NostrLoginOptions): Promise; showIframeUrl(url: string): Promise; connectModals(defaultOpt: NostrLoginOptions): void; onAuthUrl(url: string): void; onIframeUrl(url: string): void; onCallEnd(): void; onUpdateAccounts(accounts: Info[], recents: RecentType[]): void; onDarkMode(dark: boolean): void; } export default ModalManager;