import { default as React, ReactNode } from 'react'; import { ToastContextValue, ToastVariant } from '../../contexts/ToastContext'; /** * Toast types - alias from context */ export type ToastType = ToastVariant; /** * Toast position */ export type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'; /** * Toast provider props */ export interface ToastProviderProps { children: ReactNode; position?: ToastPosition; maxToasts?: number; defaultDuration?: number; } /** * Toast provider component */ export declare function ToastProvider({ children, position, maxToasts, defaultDuration, }: ToastProviderProps): React.ReactElement; export declare namespace ToastProvider { var displayName: string; } /** * Hook to use toast context */ export declare function useToast(): ToastContextValue;