import type { CountDownModalProps } from './countdown-modal'; declare type BaseModalProps = Omit; export interface ShowModalProps extends BaseModalProps { onCountdownEnd?: (() => void) | null; } export declare type ConfigUpdate = ShowModalProps | ((prevConfig: ShowModalProps) => ShowModalProps); export default function showModal(config: ShowModalProps): { destroy: () => void; update: (configUpdate: ConfigUpdate) => void; }; export {};