/** * Image Optimizer * * Compresses and resizes downloaded Figma images to reduce file sizes. * Uses sharp (auto-installed if needed) for image processing. */ /** * Optimize a single image file: resize if dimensions exceed max, compress PNG. * Only processes files larger than 1MB. * * @returns Info about what was done (or skipped) */ export declare function optimizeImage(filePath: string, targetMaxBytes?: number): Promise<{ optimized: boolean; originalSize: number; newSize: number; }>; /** * Optimize multiple image files in a directory. * * @returns Total bytes saved */ export declare function optimizeImages(filePaths: string[]): Promise; //# sourceMappingURL=image-optimizer.d.ts.map