/// import type { ModalSettings } from './types.js'; /** * Retrieves the `modalStore`. * * This can *ONLY* be called from the **top level** of components! * * @example * ```svelte * * ``` */ export declare function getModalStore(): ModalStore; /** * Initializes the `modalStore`. */ export declare function initializeModalStore(): ModalStore; export type ModalStore = ReturnType; declare function modalService(): { subscribe: (this: void, run: import("svelte/store").Subscriber, invalidate?: import("svelte/store").Invalidator | undefined) => import("svelte/store").Unsubscriber; set: (this: void, value: ModalSettings[]) => void; update: (this: void, updater: import("svelte/store").Updater) => void; /** Append to end of queue. */ trigger: (modal: ModalSettings) => void; /** Remove first item in queue. */ close: () => void; /** Remove all items from queue. */ clear: () => void; }; export {};