Files
oh-my-opencode/dist/tools/look-at/image-converter.d.ts
T
2026-03-14 04:56:50 +00:00

8 lines
366 B
TypeScript

export declare function needsConversion(mimeType: string): boolean;
export declare function convertImageToJpeg(inputPath: string, mimeType: string): string;
export declare function cleanupConvertedImage(filePath: string): void;
export declare function convertBase64ImageToJpeg(base64Data: string, mimeType: string): {
base64: string;
tempFiles: string[];
};