import { DialogModalType } from '@fluentui/react-components';
import React from 'react';
import { ButtonEXProps } from './button';
export interface IPrompterProps {
    hideOk?: boolean;
    hideCancel?: boolean;
    showCancelInTitle?: boolean;
    /** return false to prevent closing the dialog. */
    onOK?: () => Promise<void> | void;
    onCancel?: () => void;
    /** OK */
    okButtonText?: string;
    /** Cancel */
    cancelButtonText?: string;
    title?: string | JSX.Element;
    okButtonProps?: Partial<ButtonEXProps>;
    cancelButtonProps?: Partial<ButtonEXProps>;
    children?: JSX.Element;
    /** allow to epand the dialog to be wider */
    maxWidth?: number | string;
    /** additional button actions at the bottom */
    actions?: JSX.Element[];
    /** dialog title actions */
    titleActions?: JSX.Element[];
    /** specify a specific mount node for this dialog */
    mountNode?: HTMLElement | null | {
        element?: HTMLElement | null;
        className?: string;
    };
    modalType?: DialogModalType;
    /** do not fire ok/cancel on esc/enter press */
    disableKeyboardActions?: boolean;
}
export declare const Prompter: (props: IPrompterProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element | null;
