import { default as default_2 } from 'react';
import { JSX } from 'react/jsx-runtime';

export declare const ErrorToast: ({ message, onClose, visible, }: ErrorToastProps) => JSX.Element | null;

declare interface ErrorToastContextType {
    showError: (error: unknown) => void;
}

declare interface ErrorToastProps {
    message: string;
    onClose: () => void;
    visible: boolean;
}

export declare function ErrorToastProvider({ children }: ErrorToastProviderProps): JSX.Element;

declare interface ErrorToastProviderProps {
    children: default_2.ReactNode;
}

export declare function useErrorToast(): ErrorToastContextType;

export { }
