/** * Screenshot post-processing - Scale and color reduction * * Reduces screenshot file size for LLM context by: * 1. Scaling down (e.g., 0.5 = 50%) * 2. Reducing colors (2/4/16/256 instead of full 24-bit) * * Platform-specific implementations: * - Windows: PowerShell + System.Drawing * - macOS: sips + ImageMagick (if available) * - Linux: ImageMagick convert * * v1.13.0 */ import type { ScreenshotColors } from './types.js'; export interface PostProcessOptions { scale?: number; colors?: ScreenshotColors; } export interface PostProcessResult { original_size: number; optimized_size: number; } /** * Post-process a screenshot file in-place. * Returns original and optimized file sizes. */ export declare function postProcess(filePath: string, options: PostProcessOptions): PostProcessResult; //# sourceMappingURL=post-process.d.ts.map