import React, { ReactElement } from "react";
import type { ToastData } from "./types";
type Props = {
    children: React.ReactNode;
};
type ToastContextApi = {
    dismissToast: (arg0: string) => void;
    pushToast: (arg0: ToastData) => void;
};
type ToastContextState = {
    toasts: ToastData[];
};
type ToastContextType = ToastContextApi & ToastContextState;
export declare function useToasts(): ToastContextType;
export declare function ToastProvider({ children }: Props): ReactElement;
export {};
//# sourceMappingURL=index.d.ts.map