import { FileFolderType } from './api';
export interface ICodeEditorConfig {
    language: string;
    theme: 'fd-dark' | 'vs-dark' | 'vs-light';
}
export type TEditorConfig = Partial<ICodeEditorConfig>;
export interface IEditor {
    key: 'editors:roles' | 'editors:webforms' | 'editors:code' | 'editors:code:method' | 'editors:unknown' | 'editors:debugger' | 'editors:img' | 'editors:model' | 'editors:settings' | 'editors:reports' | 'editors:http-handlers' | 'editors:localization' | 'editors:event-report';
    config?: TEditorConfig;
}
export interface ITreeItem {
    id?: string;
    name: string;
    path: string;
    children?: ITreeItem[];
    type: FileFolderType;
    date?: string;
    size?: number;
    ext?: string;
    error: null | {
        message: string;
    };
    flags: {
        [key: string]: boolean;
    };
    tipKey?: string;
    config: {
        editor?: IEditor;
        supportedEditors?: IEditor[];
    };
    isRoot?: boolean;
    info?: {
        [key: string]: any;
    };
}
export interface IEditors {
    pattern: string;
    editor: IEditor;
    supportedEditors?: IEditor[];
}
