import { default as React } from 'react'; export interface ModalContextType { showModal: (title: string, message: string, type?: 'info' | 'warning' | 'error') => Promise; hideModal: () => void; showInput: (title: string, message: string, defaultValue?: string) => Promise; showPasswordDialog: (options: { title: string; message: string; hint?: string; correctPassword: string; onFail?: () => void; }) => Promise; showConfirm: (title: string, message: string, type?: 'question' | 'info' | 'warning' | 'error', confirmLabel?: string, cancelLabel?: string) => Promise; dialog: { alert: (opts: { title: string; message: string; type?: 'info' | 'warning' | 'error'; }) => Promise; confirm: (opts: { title: string; message: string; type?: 'question' | 'info' | 'warning' | 'error'; confirmLabel?: string; cancelLabel?: string; }) => Promise; choice: (opts: { title: string; message: string; type?: 'question' | 'info' | 'warning' | 'error'; confirmLabel: string; alternateLabel: string; cancelLabel: string; }) => Promise<'confirm' | 'alternate' | 'cancel'>; prompt: (opts: { title: string; message: string; defaultValue?: string; }) => Promise; password: (opts: { title: string; message: string; hint?: string; correctPassword: string; onFail?: () => void; }) => Promise; }; } interface ModalInteractionState { blockedWindowId: string | null; signalBlockedInteraction: () => void; } export declare const useModalInteraction: () => ModalInteractionState; export declare const useModal: () => ModalContextType; export declare const ModalProvider: React.FC<{ children: React.ReactNode; }>; export {};