type ModalOptions = {
    title: string;
    message: string;
    onConfirm: () => void | Promise<void>;
    onCancel?: () => void;
    confirmText?: string;
    cancelText?: string;
};
declare global {
    interface Window {
        modalStylesAdded: boolean;
    }
}
export declare function createModal(options: ModalOptions): HTMLDivElement;
export declare function showModal(modal: HTMLDivElement, selector: string): void;
export declare function closeModal(modal: HTMLDivElement): void;
export {};
//# sourceMappingURL=modal.d.ts.map