export type Toast = { id: string; content: string; }; export declare function showToast(content: string, { duration }?: { duration?: number | undefined; }): { remove: () => void; }; export declare function subscribe(fn: (toasts: Array) => void): () => void;