import * as React from "react"; import { type ToasterProps } from "sonner"; /** * `--toast-duration` → milliseconds for Sonner's `duration` (gh#1253). Accepts the two CSS time * units; anything else (unset, `initial`, a typo) is `undefined`, which leaves Sonner's own * 4000ms default in charge rather than inventing a second one here. */ export declare function parseToastDuration(raw: string): number | undefined; /** * `richColors` defaults ON: it is the switch that makes sonner apply the per-type properties at * all (`[data-rich-colors='true'][data-type='success'] { … }`), so without it the tokens above * are declared and never read. A consumer can still pass `richColors={false}` for a deliberately * monochrome stack. */ declare function Toaster({ style, richColors, toastOptions, ...props }: ToasterProps): React.JSX.Element; export { Toaster };