import React from 'react'; import { ToastProps } from '../Toast'; export type ToastStatus = 'success' | 'error' | 'warning' | 'info'; export type StatusToastProps = Omit & { /** Controls the icon, color and ARIA role of the toast. The `'error'` and `'warning'` statuses use the `alert` role, and the `'info'` and `'success'` statuses auto dismiss after 7000 milliseconds by default. * @default 'info' */ status?: ToastStatus; /** Action element to render. */ action?: React.ReactNode; /** Number in milliseconds to auto dismiss the toast. If the duration is set to 'null', toast won't be automatically dismissed. */ duration?: number | null; }; //# sourceMappingURL=StatusToast.types.d.ts.map