import { SvelteComponentTyped } from "svelte"; export declare enum DialogStates { Open = 0, Closed = 1 } export interface StateDefinition { dialogState: DialogStates; titleId?: string; setTitleId(id?: string): void; close(): void; } export declare function useDialogContext(component: string): Readable; import type { Readable } from "svelte/store"; import type { SupportedAs } from "../../internal/elements"; declare class __sveltets_Render { props(): Omit, import("../../types").TInternalProps | "as" | "static" | "unmount"> & { as?: TAsProp | undefined; } & { /** Whether the `Dialog` is open */ open?: boolean | undefined; /** The element that should receive focus when the Dialog is first opened */ initialFocus?: HTMLElement | null | undefined; /** Whether the element should ignore the internally managed open/closed state */ static?: boolean | undefined; /** Whether the element should be unmounted, instead of just hidden, based on the open/closed state */ unmount?: boolean | undefined; }; events(): {} & { [evt: string]: CustomEvent; }; slots(): { default: { open: boolean | undefined; }; }; } export declare type DialogProps = ReturnType<__sveltets_Render['props']>; export declare type DialogEvents = ReturnType<__sveltets_Render['events']>; export declare type DialogSlots = ReturnType<__sveltets_Render['slots']>; export default class Dialog extends SvelteComponentTyped, DialogEvents, DialogSlots> { } export {};