import { ReactElement, ReactNode } from 'react';

export type ToastType = "success" | "error" | "info" | "warning";
export type Toast = {
    id: number;
    title: string;
    message: string | ReactElement;
    type: ToastType;
};
type ShowToast = (title: string, message: string | ReactElement, type?: ToastType) => void;
export declare const ToastProvider: ({ children }: {
    children: ReactNode;
}) => import("react/jsx-runtime").JSX.Element;
export declare const useToast: () => {
    toasts: Toast[];
    showToast: ShowToast;
};
export {};
