import fs from "node:fs/promises"; import type { GeneratedImageDetails, GeneratedImageSaveInput } from "./types.js"; export declare function sanitizeFileSegment(value: string | undefined): string; export declare function generatedImagesRoot(): string; export interface GeneratedImagePersistenceDeps { mkdir?: typeof fs.mkdir; writeFile?: typeof fs.writeFile; } export declare function persistGeneratedPng(input: GeneratedImageSaveInput, deps?: GeneratedImagePersistenceDeps): Promise; //# sourceMappingURL=images.d.ts.map