/// <reference types="react" />
import Dialog, { IDialogProps } from './Dialog';
export interface ICloseDialogOption {
    triggerOnClose?: boolean;
}
export declare function closeDialog(dialogId: string, options?: ICloseDialogOption): void;
export interface IOpenDialogOption extends Omit<IDialogProps, 'onClose'> {
    dialogId?: string;
    ref?: (ins: Dialog) => void | React.RefObject<Dialog>;
    parentComponent?: React.ReactInstance;
    onClose?: () => void;
}
export declare function openDialog(options?: Partial<IOpenDialogOption>): (triggerOnClose?: boolean) => void;
