import { FC, ReactNode } from 'react'; export interface DialogStackItemProps { className?: string; clickOutsideToDismiss?: boolean; content: FC<{ dismiss: () => void; }>; description?: ReactNode; /** Fired once when the dialog transitions open -> closed (Esc, backdrop, or programmatic dismiss). */ onClose?: () => void; portalClassName?: string; sheet?: boolean | 'auto'; showCloseButton?: boolean; theme?: 'light' | 'dark'; title?: ReactNode; } export interface DialogStackItem extends DialogStackItemProps { id: string; open: boolean; } export declare function subscribe(fn: () => void): () => void; export declare function getSnapshot(): DialogStackItem[]; export declare function presentDialog(props: DialogStackItemProps): () => void; export declare function removeDialog(id: string): void; export declare function dismissDialog(id: string): void; export declare function dismissTopDialog(): void; export declare function dismissAllDialogs(): void; //# sourceMappingURL=store.d.ts.map