///
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) => {
id: string;
role: string;
'aria-describedby': string;
'aria-labelledby': string;
'aria-live': "assertive" | "polite";
tabindex: number;
} | null, string>;
title: import("../../internal/helpers/index.js").MeltElement>>, import("svelte/action").Action>, ($toasts: Map>) => (id: string) => {
id: string;
} | null, string>;
description: import("../../internal/helpers/index.js").MeltElement>>, import("svelte/action").Action>, ($toasts: Map>) => (id: string) => {
id: string;
} | null, string>;
close: import("../../internal/helpers/index.js").MeltElement MeltActionReturn, () => (id: string) => {
type: "button";
'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: import("svelte/action").Action>;
};
options: import("../../internal/helpers/index.js").ToWritableStores<{
closeDelay: number;
type: "background" | "foreground";
}>;
};