import * as ToastPrimitive from "@radix-ui/react-toast"; import { type VariantProps } from "class-variance-authority"; import type { ComponentPropsWithoutRef } from "react"; /** * Toast — transient notification built on Radix Toast. * * Composition: app mounts once. Components call `toast(...)` via * the `useToast()` hook (see toaster.tsx). The look is theme-aware: status * icon coloured by --primary/--success/--warning/--destructive; the body * card uses --popover surface. * * Variants: * - default (neutral) * - info (primary tint) * - success (deploy ok, action completed) * - warning (queued, permission requested) * - destructive (failed, fatal) */ declare const toastVariants: (props?: ({ variant?: "destructive" | "default" | "success" | "warning" | "info" | null | undefined; size?: "sm" | "md" | "lg" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; type ToastVariant = NonNullable["variant"]>; interface ToastProps extends ComponentPropsWithoutRef, VariantProps { } declare const Toast: import("react").ForwardRefExoticComponent> & { Title: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; Description: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; Close: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; Action: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; Provider: import("react").FC; Viewport: import("react").ForwardRefExoticComponent>; }; export { Toast, toastVariants, type ToastVariant };