/** * Builtin Toast adapter: the zero-dependency toast engine: a `ToastProvider` * that holds a queue and mounts a fixed bottom-right viewport, plus `useToast`. * Composes the presentational parts from `toast-parts.tsx` (structured * icon/action/cancel toasts, and `toast.custom` nodes). Imports ONLY the parts + * the contract types: never the `toast.tsx` skin or the adapter context: so * Toast can be adapter-routed without an import cycle. A Sonner adapter satisfies * the same `ToastParts` contract by mounting `` instead. * * @module react/components/ui/adapter/builtin/toast */ import * as React from "react"; import type { ToastParts, ToastViewportProps } from "../contract.js"; /** * Fixed region (bottom-right) that stacks the queued toasts. The builtin * `ToastProvider` mounts one automatically, so you rarely render this yourself. * Exported (and aliased as `Toaster`) for advanced placement on the builtin engine. */ export declare function ToastViewport({ className, ref, ...props }: ToastViewportProps): React.ReactElement; export declare namespace ToastViewport { var displayName: string; } /** The builtin (zero-dependency) Toast engine, as `ToastParts`. */ export declare const builtinToast: ToastParts; //# sourceMappingURL=toast.d.ts.map