/// import { noop } from '../../internal/helpers/index.js'; import type { MeltActionReturn } from '../../internal/types.js'; import type { ToastEvents } from './events.js'; import type { AddToastProps, CreateToasterProps, Toast } from './types.js'; export declare function createToaster(props?: CreateToasterProps): { elements: { content: import("../../internal/helpers/index.js").MeltElement>>, (node: HTMLElement) => MeltActionReturn, ($toasts: Map>) => (id: string) => { readonly id: string; readonly role: "alert"; readonly 'aria-describedby': string; readonly 'aria-labelledby': string; readonly 'aria-live': "assertive" | "polite"; readonly tabindex: -1; } | null, string>; title: import("../../internal/helpers/index.js").MeltElement>>, import("svelte/action").Action>, ($toasts: Map>) => (id: string) => { readonly id: string; } | null, string>; description: import("../../internal/helpers/index.js").MeltElement>>, import("svelte/action").Action>, ($toasts: Map>) => (id: string) => { readonly id: string; } | null, string>; close: import("../../internal/helpers/index.js").MeltElement MeltActionReturn, () => (id: string) => { readonly type: "button"; readonly 'data-id': string; }, string>; }; states: { toasts: import("svelte/store").Readable[]>; }; helpers: { addToast: (props: AddToastProps) => Toast; removeToast: (id: string) => void; updateToast: (id: string, data: T) => void; }; actions: { portal: (el: Node_1, target?: import("../../internal/actions/index.js").PortalConfig) => { destroy: typeof noop; update?: undefined; } | { update: (newTarget?: import("../../internal/actions/index.js").PortalConfig) => Promise; destroy: () => void; }; }; options: import("../../internal/helpers/index.js").ToWritableStores<{ closeDelay: number; type: "background" | "foreground"; hover: "pause" | "pause-all" | null; }>; };