import { type ReactNode } from "react"; import type { ToastOptions } from "./toast-provider"; /** * Function to programmatically show a toast notification * * Toasts must either be dismissible (with X button) OR auto-dismiss (with duration). * If dismissible=false and no duration is provided, defaults to 4000ms auto-dismiss. * * @param message - The main toast message or React node * @param options - Toast configuration options * @returns Toast ID for programmatic control */ export declare const toast: (message: ReactNode, options?: ToastOptions) => string | number; export declare const dismissToast: (toastId: string | number) => void; export declare const dismissAllToasts: () => void; //# sourceMappingURL=toast-functions.d.ts.map