import { ReactNode } from 'react';
import { BaseModalProps } from './Modal';
type RenderProps = {
    confirm: (value?: unknown) => void;
    cancel: () => void;
    params?: any;
    isOpen: boolean;
};
export type useConfirmModalProps = Pick<BaseModalProps, 'initialFocusRef' | 'heading' | 'size'> & {
    render: (props: RenderProps) => ReactNode;
};
declare const useConfirmModal: ({ heading, size, render, initialFocusRef, }: useConfirmModalProps) => {
    renderModal: () => import("react/jsx-runtime").JSX.Element;
    showModal: (params?: any) => Promise<any>;
};
export default useConfirmModal;
