import type{LyraToastOptions}from'./toast.class.js';import type{LyraToastItem}from'./toast-item.class.js';export type{LyraToastOptions}from'./toast.class.js';export interface ToastHandle{ /** Resolves to the created toast item. */ item:Promise; /** Dismiss the toast early. */ dismiss:()=>void;} /** * Show a toast. Ergonomic convenience over `.create()` that mounts * and reuses a page-level region per placement — the drop-in for `react-hot-toast`. * * @example toast('Saved'); * @example toast({ message: 'Deleted', variant: 'danger', action: { label: 'Undo', onClick: undo } }); */ export declare function toast(input:LyraToastOptions|string):ToastHandle;