import { MooBase } from './base/MooBase';
import { PresetType, Ifiles, Ipreset, RunnerType } from '../types';
export declare class CodeRunner extends MooBase {
    private _button;
    private _presetType;
    private _frame;
    private _embededCheckbox;
    private _isEmbeded;
    private _iframeCloseButton;
    constructor(CodeBoard: CodeBoard);
    protected _createElement(): HTMLElement;
    get button(): HTMLElement;
    get isEmbeded(): boolean;
    set isEmbeded(isEmbeded: boolean);
    private _createEmbededCheckbox;
    private _closeRunner;
    private _determineEnv;
    private _convertToParam;
    requestCode(files: Ifiles, presetType: PresetType, runner: RunnerType): void;
    getURL(files: Ifiles, presetType: PresetType, runner: RunnerType): string | undefined;
}
export declare class CodeBoard extends MooBase {
    private _board;
    private _runner;
    private _presetType;
    private _runnerType;
    private _tools;
    private _presetList;
    private _isFixedTemplate;
    constructor(container: HTMLElement, preset?: Ipreset, hasTools?: boolean);
    protected _createElement(): HTMLElement;
    private _createTools;
    private _createPresetSelectTool;
    private _createExportButton;
    get presetType(): PresetType;
    set presetType(presetType: PresetType);
    get isEmbeded(): boolean;
    set isEmbeded(isEmbeded: boolean);
    runCode(): void;
    exportCode(): Ifiles;
    exportCodeByFilename(filename: string): string;
    exportURL(): string | undefined;
    addFile(filename: string): void;
    addFiles(filenames: string[]): void;
    removeFile(filename: string): void;
    removeFiles(filenames: string[]): void;
}
