import type { ToastContentValue } from "./toast-queue"; import type { DOMRenderProps } from "../../utils/dom"; import type { ToastVariants } from "@heroui/styles"; import type { ComponentPropsWithRef, ReactNode } from "react"; import type { ToastProps as ToastPrimitiveProps } from "react-aria-components/Toast"; import React from "react"; import { Text as TextPrimitive } from "react-aria-components/Text"; import { UNSTABLE_ToastContent as ToastContentPrimitive, UNSTABLE_ToastRegion as ToastRegionPrimitive } from "react-aria-components/Toast"; import { Button } from "../button"; import { CloseButton } from "../close-button"; import { ToastQueue } from "./toast-queue"; interface ToastProps extends ToastPrimitiveProps, ToastVariants { scaleFactor?: number; } declare const Toast: { ({ children, className, placement, scaleFactor, toast, variant, ...rest }: ToastProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface ToastContentProps extends ComponentPropsWithRef { } declare const ToastContent: ({ children, className, ...rest }: ToastContentProps) => import("react/jsx-runtime").JSX.Element; interface ToastIndicatorProps extends DOMRenderProps { children?: ReactNode; className?: string; variant?: ToastVariants["variant"]; } declare const ToastIndicator: { ({ children, className, variant, ...rest }: ToastIndicatorProps & Omit>): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface ToastTitleProps extends ComponentPropsWithRef { } declare const ToastTitle: { ({ children, className, ...rest }: ToastTitleProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface ToastDescriptionProps extends ComponentPropsWithRef { } declare const ToastDescription: { ({ children, className, ...rest }: ToastDescriptionProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface ToastCloseButtonProps extends ComponentPropsWithRef { } declare const ToastCloseButton: { ({ className, ...rest }: ToastCloseButtonProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface ToastActionButtonProps extends ComponentPropsWithRef { } declare const ToastActionButton: { ({ children, className, ...rest }: ToastActionButtonProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; type ToastRegionPrimitiveProps = ComponentPropsWithRef>; interface ToastProviderProps extends Omit, "queue" | "children"> { children?: ToastRegionPrimitiveProps["children"]; /** The gap between toasts. @default 8 */ gap?: number; /** The maximum number of toasts to display at a time (visual only). */ maxVisibleToasts?: number; /** The scale factor for toasts. @default 0.05 */ scaleFactor?: number; placement?: ToastVariants["placement"]; queue?: ToastQueue; /** The width of the toast. @default 460 */ width?: number | string; } declare const ToastProvider: { ({ children, className, gap, maxVisibleToasts, placement, queue: queueProp, scaleFactor, width, ...rest }: ToastProviderProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export { ToastQueue, Toast, ToastActionButton, ToastCloseButton, ToastContent, ToastDescription, ToastIndicator, ToastProvider, ToastTitle, }; export type { ToastActionButtonProps, ToastCloseButtonProps, ToastContentProps, ToastDescriptionProps, ToastIndicatorProps, ToastProps, ToastProviderProps, ToastTitleProps, };