/// type LoraHash = { [key: string]: string; }; type PngInfoObject = { steps: number; sampler: string; cfgScale: number; seed: number; size: string; modelHash: string; model: string; loraHashes?: Array; version: string; prompt: Array; negativePrompt: Array; controlNetList?: Array>; [key: string]: any; }; type ControlNetInfoObject = { key: string; module: string; model: string; weight: number; resizeMode: "Just Resize" | "Crop and Resize" | "Resize and Fill"; lowVram: boolean; processorRes: number; guidanceStart: number; guidanceEnd: number; pixelPerfect: boolean; controlMode: "Balanced" | "My prompt is more important" | "ControlNet is more important"; [key: string]: any; }; declare function getInfotext(buf: ArrayBuffer | Buffer): Promise; declare function getInfotextJson(buf: ArrayBuffer | Buffer): Promise; declare function convertInfotextToJson(infotext: string): PngInfoObject; declare function convertJsonToInfotext(json: PngInfoObject): string; export { convertInfotextToJson, convertJsonToInfotext, getInfotext, getInfotextJson, LoraHash, PngInfoObject, };