import { Subject } from 'rxjs';
import { DialogHeaderTemplate, DialogContentTemplate, DialogFooterTemplate } from './templates/index';
export interface IDialogContent {
    onClosing?: IDialogClosingHandler;
    header?: DialogHeaderTemplate;
    content?: DialogContentTemplate;
    footer?: DialogFooterTemplate;
    autosave?: boolean;
    submitAndClose?: {
        (): void;
    };
    size?: string;
}
export interface IDialogClosingHandler {
    (): boolean;
}
export declare class DialogRootService {
    dialogContext: IDialogContent;
    dismissing: boolean;
    openDialog: Subject<IDialogContent>;
    closeDialog: Subject<void>;
    constructor();
    onClosing(): boolean;
}
