import { YamlDict, YamlType } from "./schema/interface"; import { YAMLDocumentStructure } from "./YamlDomStructure"; export declare class Preformatter { private sourceFile; private sourceYaml; constructor(sourceFile: string); getSourceFile(): string; getRootLevelKey(key: T): YAMLDocumentStructure[T]; getAsJson(): string; isLocalRef(ref: string): boolean; goToGlobalRef(ref: string): YamlDict; mergeGlobalRef(refs: string[], root?: YamlDict): YamlDict; goToLocalRef(refs: string[], root?: YamlDict): YamlDict; fetchRef(ref: string): YamlDict; prefetchRecursiveArray(root: YamlType[]): boolean; prefetchRecursiveObject(root: YamlDict): boolean; prefetchRemoteResourcesRecursive(): void; dumpCurrentSource(): string; removeRemote(): void; }