import type { ImageGenerationOpts, ResponseContent } from '../types/types.js'; export declare class CodexImageAttachmentWriter { private readonly tempDir; private readonly cwd; private index; constructor(tempDir: string, cwd: string); collectContent(content: ResponseContent, context: string): Promise<{ text: string; images: string[]; }>; materializeSourceImages(sourceImages: ImageGenerationOpts['source_images']): Promise; private materializeImageDataPart; private materializeImageString; private writeImageBuffer; } export declare function listCodexOutputImages(outputDir: string): Promise; export declare function listCodexGeneratedImages(codexHome: string): Promise; export declare function readGeneratedCodexImageFiles(generatedImagePaths: string[], expectedCount: number): Promise; export declare function readCodexImageFiles(imagePaths: string[]): Promise; export declare function extractExistingCodexImagePaths(rawLastMessage: string, cwd: string): Promise; export declare function newestFirst(paths: string[]): Promise; //# sourceMappingURL=codex_assets.d.ts.map