/** * koraToast — a tiny, framework-free toast controller (handle.me uses react-toastify; this replaces * it with no dependency). Lazily creates a fixed toaster region in
and renders glassmorphic, * type-aware toasts that auto-dismiss. Imperative + client-only: * * koraToast.success("Minted!", { message: "Tx submitted" }); * const id = koraToast.error("Failed", { duration: 0 }); // 0 = sticky * koraToast.dismiss(id); */ export type KoraToastType = "info" | "success" | "error" | "warning"; export interface KoraToastOptions { message?: string; type?: KoraToastType; /** Auto-dismiss after ms; 0 keeps it until dismissed. Default 5000. */ duration?: number; } declare function dismiss(id: string): void; declare function show(title: string, options?: KoraToastOptions): string; export declare const koraToast: { show: typeof show; dismiss: typeof dismiss; info: (title: string, opts?: Omit