import { Preformatter } from "../yaml-tools/preformatter"; import { OperationObject, PathObject } from "../yaml-tools/collectors/YamlPaths"; import { ParameterType } from "../yaml-tools/parameters/interface"; import { ArrayType, ExplicitTypeDeclaration, ObjectType, RefType, TypeDeclaration } from "../yaml-tools/schema/interface"; import { ContentEntry, RequestBodies } from "../yaml-tools/requestBodies/interface"; import { ResponsesType } from "../yaml-tools/responses/interface"; type YamlType = number | string | boolean | YamlType[] | { [key: string]: YamlType; }; type YamlDict = { [key: string]: YamlType; }; export declare class InterfaceBundler { private sourceFile; private destFile; private cacheDest; private source; private dataLines; constructor(preFormatter: Preformatter, destFile: string, cacheDest: string); refSanity(ref: string): boolean; unWindRef(ref: string | YamlType): YamlDict; unWindTypeDeclaration(root: TypeDeclaration): string; unWindObject(root: ObjectType): string; unWindArray(root: ArrayType): string; unWindSchemaType(root: ExplicitTypeDeclaration): string; quickMap(d: [string, string][]): string; translateComponents(): string; dumpToCache(filename: string, data: string): void; splitRef(ref: string): string[]; goToBottomRef(ref: string): T; getTrueRoot(root: T | RefType): T; unwindOperationObjectParameters(root: OperationObject, context: PathObject): string | undefined; refToComponent(ref: string): string; unWindRequestBody(root: RequestBodies | RefType): string; unWindResponse(root: OperationObject): string; unWindOperationObject(root: OperationObject, context: PathObject): string; unWindPaths(root: PathObject): string; translatePaths(): string | undefined; unWindContentEntry(root: ContentEntry): string; unWindResponseEntry(root: ResponsesType): string; unWindParameter(root: ParameterType): string; saveToCache(): void; compile(): void; testPreCompile(): void; dump(fileNamePath: string, data: string): void; static from_file_or_files(source: string, dest: string, cache: string): Promise; } export {};