Files
oh-my-opencode/dist/tools/look-at/image-converter.d.ts
T

8 lines
366 B
TypeScript
Raw Normal View History

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[];
};