import IFile from "../../storage/IFile";
import { IEventHandler } from "ste-events";
import ILegacyDocumentationNode from "./ILegacyDocumentation";
export default class LegacyDocumentationDefinition {
    private _data?;
    private _file?;
    private _isLoaded;
    private _onLoaded;
    get isLoaded(): boolean;
    get file(): IFile | undefined;
    get onLoaded(): import("ste-events").IEvent<LegacyDocumentationDefinition, LegacyDocumentationDefinition>;
    set file(newFile: IFile | undefined);
    static loadNode(catalog: string, nodePath: string, isPreview?: boolean): Promise<ILegacyDocumentationNode>;
    getNode(nodePath: string): ILegacyDocumentationNode;
    static ensureOnFile(file: IFile, loadHandler?: IEventHandler<LegacyDocumentationDefinition, LegacyDocumentationDefinition>): Promise<LegacyDocumentationDefinition>;
    persist(): boolean;
    load(): Promise<void>;
}
