import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { IModalDialog, IDialogConfig } from './modal-interfaces';
import * as i0 from "@angular/core";
/**
 * Internal. The default modal dialog component. Should not be directly used as a component in a view. It
 * should only every be instantiated by the ModalService.dialog() method.
 */
export declare class ModalDialog implements IModalDialog {
    private sanitizer;
    closeFn: (val: any) => void;
    cancelFn: (val?: any) => void;
    safeBody: SafeHtml;
    config: IDialogConfig;
    constructor(sanitizer: DomSanitizer);
    setConfig(config: IDialogConfig): void;
    onClick(button: {
        returnValue: any;
        shouldReject: boolean;
    }): void;
    registerCloseFn(close: (val: any) => void): void;
    registerCancelFn(cancel: (val?: any) => void): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ModalDialog, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ModalDialog, "gtx-modal-dialog", never, {}, {}, never, never>;
}
