/// <reference types="react" />
import { TypeEnum } from "./TypeEnum";
export { TypeEnum } from "./TypeEnum";
export declare const useModal: () => ProviderType;
declare type ProviderType = {
    openModal: (errorMsg: string, type: TypeEnum) => void;
};
declare type Props = {
    children: React.ReactNode;
};
export declare const ModalProvider: ({ children }: Props) => JSX.Element;
