import * as React from "react"; import { ToastConfig } from "../Toast"; import { ToastInternalConfig } from "../Toast/index"; declare type ToastContextType = { toast: (options: ToastConfig) => void; position?: "TOP" | "BOTTOM"; offset?: number; maxToasts?: number; }; export declare const ToastContext: React.Context; export declare const useToast: () => ToastContextType; export declare type FullToastConfig = ToastConfig & ToastInternalConfig; declare const ToastProvider: React.FC>; export default ToastProvider;