import React, { FC } from 'react';
interface ModalProps {
    onClose: VoidFunction;
    onSubmit: () => Promise<unknown>;
}
type Action = {
    modal: keyof typeof modals;
    onSubmit: () => Promise<unknown>;
};
export declare const useConfirmModalDispatch: () => React.Dispatch<React.SetStateAction<Action>>;
export declare const ConfirmationModalsProvider: FC<{
    children: React.ReactNode;
}>;
declare const modals: {
    Archive: ({ onSubmit, onClose }: ModalProps) => JSX.Element;
    Publish: ({ onSubmit, onClose }: ModalProps) => JSX.Element;
    UnPublish: ({ onSubmit, onClose }: ModalProps) => JSX.Element;
    Delete: ({ onSubmit, onClose }: ModalProps) => JSX.Element;
    BackConfirmation: ({ onSubmit, onClose }: ModalProps) => JSX.Element;
};
export {};
