import type { ComponentProps } from "react"; import { ToastActionButton, ToastCloseButton, ToastContent, ToastDescription, ToastIndicator, ToastProvider, Toast as ToastRoot, ToastTitle } from "./toast"; import { ToastQueue, toast, toastQueue } from "./toast-queue"; export declare const Toast: { ({ children, className, placement, scaleFactor, toast, variant, ...rest }: import("./toast").ToastProps): import("react/jsx-runtime").JSX.Element; displayName: string; } & { Provider: { ({ children, className, gap, maxVisibleToasts, placement, queue: queueProp, scaleFactor, width, ...rest }: import("./toast").ToastProviderProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; Content: ({ children, className, ...rest }: import("./toast").ToastContentProps) => import("react/jsx-runtime").JSX.Element; Indicator: { ({ children, className, variant, ...rest }: import("./toast").ToastIndicatorProps & Omit>): import("react/jsx-runtime").JSX.Element; displayName: string; }; Title: { ({ children, className, ...rest }: import("./toast").ToastTitleProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; Description: { ({ children, className, ...rest }: import("./toast").ToastDescriptionProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; ActionButton: { ({ children, className, ...rest }: import("./toast").ToastActionButtonProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; CloseButton: { ({ className, ...rest }: import("./toast").ToastCloseButtonProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; Queue: typeof ToastQueue; toast: { (message: import("react").ReactNode, options?: import("./toast-queue").HeroUIToastOptions): string; success(message: import("react").ReactNode, options?: Omit): string; danger(message: import("react").ReactNode, options?: Omit): string; info(message: import("react").ReactNode, options?: Omit): string; warning(message: import("react").ReactNode, options?: Omit): string; promise(promise: Promise | (() => Promise), options: import("./toast-queue").ToastPromiseOptions): string; getQueue(): import("react-aria-components").UNSTABLE_ToastQueue; close(key: string): void; pauseAll(): void; resumeAll(): void; clear(): void; } & { success: (message: import("react").ReactNode, options?: Omit) => string; danger: (message: import("react").ReactNode, options?: Omit) => string; info: (message: import("react").ReactNode, options?: Omit) => string; warning: (message: import("react").ReactNode, options?: Omit) => string; promise: (promise: Promise | (() => Promise), options: import("./toast-queue").ToastPromiseOptions) => string; getQueue: () => ReturnType<() => import("react-aria-components").UNSTABLE_ToastQueue>; close: (key: string) => void; pauseAll: () => void; resumeAll: () => void; clear: () => void; }; }; export type Toast = { Props: ComponentProps; ProviderProps: ComponentProps; ContentProps: ComponentProps; IndicatorProps: ComponentProps; TitleProps: ComponentProps; DescriptionProps: ComponentProps; ActionProps: ComponentProps; CloseButtonProps: ComponentProps; }; export { ToastProvider, ToastContent, ToastIndicator, ToastTitle, ToastDescription, ToastActionButton, ToastCloseButton, }; export type { ToastCloseButtonProps, ToastProviderProps, ToastContentProps, ToastDescriptionProps, ToastIndicatorProps, ToastProps, ToastTitleProps, } from "./toast"; export { toastVariants } from "@heroui/styles"; export type { ToastVariants } from "@heroui/styles"; export { ToastQueue, toast, toastQueue }; export { DEFAULT_MAX_VISIBLE_TOAST, DEFAULT_GAP, DEFAULT_TOAST_TIMEOUT } from "./constants"; export type { ToastQueueOptions, ToastContentValue } from "./toast-queue";