export type Brightness = "dark" | "normal" | "bright"; export type Contrast = "low" | "normal" | "high"; export interface ImageHistogram { red: number[]; green: number[]; blue: number[]; } export interface HistogramStats { mean: number; median: number; mode: number; standardDeviation: number; skewness: number; peakCount: number; dynamicRange: number; } export interface HistogramAnalysis { red: HistogramStats; green: HistogramStats; blue: HistogramStats; overall: { brightness: Brightness; contrast: Contrast; colorCast: string; exposureIssues: string[]; }; } /** * Calculate histogram for an image */ export declare function calculateHistogram(imagePath: string): Promise; /** * Calculate histogram for image buffer */ export declare function calculateHistogramFromBuffer(imageBuffer: Buffer): Promise; /** * Analyze histogram to provide insights about the image */ export declare function analyzeHistogram(histogram: ImageHistogram): HistogramAnalysis; /** * Format histogram data for LLM consumption */ export declare function formatHistogramForLLM(histogram: ImageHistogram, analysis: HistogramAnalysis): string;