export type ToastType = 'success' | 'warning' | 'danger'; export interface ToastProps { /** Visual type of the toast — controls color, icon, and accent bar. */ type?: ToastType; /** Bold heading shown above the description. */ title: string; /** Supporting body text. */ description?: string; /** Called when the close (×) button is clicked. */ onClose?: () => void; /** * Quando true, toca o fade-out antes de ser removido do DOM. * O consumidor é responsável por remover o elemento após ~240ms (saída: 200ms). */ leaving?: boolean; /** Additional class names applied to the root element. */ className?: string; } /** * Toast (apresentação): o card de notificação do Figma. Avulso, é só o card; * empilhado na tela, vem do `ToastProvider` (sobre o Toast do PrimeReact 10), * que renderiza este componente em cada mensagem. */ export declare function Toast({ type, title, description, onClose, leaving, className, }: ToastProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Toast.d.ts.map