import { MatDialogRef } from '@angular/material/dialog';
import { CodeEditorDialogData } from './codeEditorDialog.interface';
import { CodeEditorContent } from '../codeEditor/codeEditor.interface';
import { CodeEditorComponent } from '../codeEditor/codeEditor.component';
import * as i0 from "@angular/core";
/**
 * Component used as dialog displaying code editor
 */
export declare class CodeEditorDialogComponent {
    protected data: CodeEditorDialogData;
    protected dialog: MatDialogRef<CodeEditorDialogComponent, CodeEditorContent | null>;
    /**
     * Current content of code editor
     */
    protected editorContent: CodeEditorContent | null;
    constructor(data: CodeEditorDialogData, dialog: MatDialogRef<CodeEditorDialogComponent, CodeEditorContent | null>);
    /**
     * Saves content of code editor and closes dialog
     * @param editor - Instance of code editor
     */
    protected saveAndClose(editor: CodeEditorComponent): Promise<void>;
    static ɵfac: i0.ɵɵFactoryDeclaration<CodeEditorDialogComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CodeEditorDialogComponent, "code-editor-dialog", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=codeEditorDialog.component.d.ts.map