import FilteredActions from '../actions/filtered-actions';
import type { ActionsNS } from '../actions/namespace';
import { APIConsumer } from '../api_consumer/namespace';
import DialogDefinition from './dialog-definition';
import { Dialogs } from './namespace';
type IHandlers = ActionsNS.IHandlers;
declare const dfModal: {
    readonly isInstalled: boolean;
    getDialogDefinition(existingDialog: number | Promise<any>): DialogDefinition | null | undefined;
    fromRenderFunctions(existingDialog: number, dfDialog: DialogDefinition): number;
    fromFormDefinition(formDefinition: APIConsumer.FormDefinition): Promise<any>;
    message(title: Dialogs.DialogTitle, message: Dialogs.DialogMessage, actions?: FilteredActions, options?: Dialogs.DialogOptions, actionHandlers?: IHandlers): Promise<any>;
    yesNo(title: Dialogs.DialogTitle, question: Dialogs.DialogMessage, actions?: FilteredActions, options?: Dialogs.DialogOptions): Promise<any>;
};
export default dfModal;
//# sourceMappingURL=modal-view-api.d.ts.map