import React from 'react';
import { ModalProps } from './modalFunctionComp';
import type { ActionModalProps } from './actionsModal';
export { ModalProps };
declare const ActionsTuple: ["info", "success", "warning", "error"];
export declare type UpdateConfigProps = Omit<ActionModalProps, 'type'> | ((props: ActionModalProps) => ActionModalProps);
export declare type ModalOpenReturn = {
    destroy: () => void;
    update: (configUpdate: UpdateConfigProps) => void;
};
export declare type ModalOpen = (config: Omit<ActionModalProps, 'type'>) => ModalOpenReturn;
export declare type Action = typeof ActionsTuple[number];
export declare type globalConfigProps = {
    getContainer: ModalProps['getContainer'];
};
export declare type StaticFunctions = Record<Action, ModalOpen> & {
    config: (props: globalConfigProps) => void;
    destroyAll: () => void;
};
declare const Modal: Record<"error" | "success" | "warning" | "info", ModalOpen> & {
    config: (props: globalConfigProps) => void;
    destroyAll: () => void;
} & React.FC<ModalProps>;
export default Modal;
