/** * Lightweight, dependency-free toast notifications. Theming follows the * editor host element (so the toast adopts dark mode if any editor on the * page is themed dark). */ type ToastVariant = 'info' | 'success' | 'error' | 'warn'; export interface ToastOptions { variant?: ToastVariant; duration?: number; } export declare function toast(message: string, opts?: ToastOptions): () => void; export {};