import type { ToastItem } from './types.js'; export declare const toast: { subscribe: (this: void, run: import("svelte/store").Subscriber, invalidate?: () => void) => import("svelte/store").Unsubscriber; show: (msg: string, duration?: number) => void; showSuccess: (msg: string, duration?: number) => void; showWarning: (msg: string, duration?: number) => void; showError: (msg: string, duration?: number) => void; hide: (id: number) => void; };