import { type DialogProps } from '../dialog/common';
export interface DialogAgentProps extends DialogProps {
    id?: string;
    onClose?: () => void;
    onCancel?: () => void;
    onConfirm?: () => void;
}
export declare const defaultDialogAgentProps: () => {
    id: string;
    headed: boolean;
    buttonType: DialogProps["buttonType"];
    showCancel: boolean;
    showConfirm: boolean;
    overlayClosable: boolean;
    duration: number;
};
export declare const imperativeName = "dialog";
export interface DialogImperative {
    show(newProps: Record<string, any>): void;
    hide(): void;
}
export type DialogOptions = DialogAgentProps;
export interface DialogSimpleShowFunction {
    (options: DialogOptions): void;
    (title: string, options?: DialogOptions): void;
}
export interface DialogShowFunction {
    (optionsOrTitle: string | DialogOptions, options?: DialogOptions, internalOptions?: DialogOptions): void;
}
export type DialogFunction = DialogSimpleShowFunction & {
    alert: DialogSimpleShowFunction;
    confirm: DialogSimpleShowFunction;
    hide: (id?: string) => void;
    hideAll: () => void;
};
declare const dialog: DialogFunction;
export { dialog };
