import React, { ReactNode } from 'react'; import { IconProps } from '../Icon/index.js'; import { Color } from '../../tokens/colors.js'; type ToastFn = { (message: string, options?: Omit): string; dismiss: (id: string) => void; }; type ToastProviderProps = { children: ReactNode; }; declare function ToastProvider({ children }: ToastProviderProps): import("react/jsx-runtime").JSX.Element; declare function useToast(): ToastFn; type BaseToastProps = { message: string; description?: string; iconColor?: Color; onPrimaryClick?: () => void; onSecondaryClick?: () => void; onDismiss?: () => void; primaryButtonLabel?: string; secondaryButtonLabel?: string; color?: 'red' | 'neutral'; expandedContent?: ReactNode; permanent?: boolean; ref?: React.MutableRefObject; }; export { ToastProvider, useToast }; export type { ToastProviderProps };