import * as React from "react"; import { Toast as FluentToast, ToastTitle, ToastBody, ToasterProps as FluentToasterProps, useToastController } from "@fluentui/react-components"; export interface ToastProps extends Omit, "children" | "content" | "title"> { variant?: "default" | "success" | "error" | "warning" | "info"; title?: string | React.ReactNode; description?: string | React.ReactNode; onClose?: () => void; children?: React.ReactNode; } declare const Toast: React.ForwardRefExoticComponent & React.RefAttributes>; export interface ToasterProps extends Omit { position?: "top" | "bottom" | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right"; richColors?: boolean; expand?: boolean; closeButton?: boolean; visibleToasts?: number; toastOptions?: { duration?: number; closeButton?: boolean; className?: string; }; } declare const Toaster: React.ForwardRefExoticComponent>; export declare const useToast: () => { toast: (message: string, options?: { title?: string; description?: string; intent?: "success" | "error" | "warning" | "info"; timeout?: number; variant?: "default" | "success" | "error" | "warning" | "info"; onClose?: () => void; }) => void; success: (message: string, title?: string, options?: { description?: string; timeout?: number; onClose?: () => void; }) => void; error: (message: string, title?: string, options?: { description?: string; timeout?: number; onClose?: () => void; }) => void; warning: (message: string, title?: string, options?: { description?: string; timeout?: number; onClose?: () => void; }) => void; info: (message: string, title?: string, options?: { description?: string; timeout?: number; onClose?: () => void; }) => void; }; export { Toast, Toaster, ToastTitle, ToastBody, useToastController }; //# sourceMappingURL=toast.d.ts.map