import { ITreeItem, INodeInfo, IEditor } from '@ws-ui/shared';
import { IEditors } from './types';
import { AppState } from '..';
export declare function getNodeRelativePath(nodePath: string): string;
export declare function parseEditor(path: string, key: string | null, fallbackEditor?: IEditor): IEditor;
export declare function getEditors(path: string): IEditors;
export declare function getExtension(path: string): "json" | "text";
type TGetContentParams = {
    name: string;
    qodly: boolean;
};
type TGetContentReturnValue = {
    [key: string]: (params: TGetContentParams) => {
        name: string;
        content: string;
    };
};
export declare const getContent: () => TGetContentReturnValue;
export declare const createClassesFolderContent: (state: AppState, children: INodeInfo[], expandDataclass?: string) => Promise<ITreeItem[]>;
export declare const getFileNameWithoutExtension: (fileName: string) => string;
export {};
