import { type AnyDialogData, type DialogInit } from './dialog-data'; import { type DialogResult } from './types.svelte'; declare class DialogStore { private _buckets; private _mounted; private _mountedSet; private _savedOverflow; /** Reactive snapshot of dialogs routed to a container id. */ dialogs: (containerId: string) => readonly AnyDialogData[]; /** Reactive — last (topmost) dialog inside the given container. */ active: (containerId: string) => AnyDialogData | null; /** Total number of open dialogs across all containers. */ count: () => number; /** Reactive list of container ids that have a `` mounted. */ mounted: () => string[]; isMounted: (containerId: string) => boolean; open: (init: DialogInit, id?: number | string) => Promise>; close: (id: number | string) => void; closeAll: () => void; closeAllIn: (containerId: string) => void; registerMount: (containerId: string) => void; unregisterMount: (containerId: string) => void; private lockBodyScroll; private unlockBodyScroll; } export declare const Dialogs: DialogStore; export {};