/**
 * colorBlindness.ts — Color blindness simulation modes for editors.
 *
 * Simulates various types of color vision deficiency on canvas content
 * to help designers create accessible graphics.
 */
export type ColorBlindnessType = "protanopia" | "deuteranopia" | "tritanopia" | "protanomaly" | "deuteranomaly" | "tritanomaly" | "achromatopsia" | "achromatomaly" | "none";
export interface ColorBlindnessInfo {
    type: ColorBlindnessType;
    label: string;
    description: string;
    prevalence: string;
}
export declare const COLOR_BLINDNESS_TYPES: ColorBlindnessInfo[];
/** Apply color blindness simulation to ImageData in-place. */
export declare function simulateColorBlindness(imageData: ImageData, type: ColorBlindnessType): ImageData;
/** Create a new ImageData with color blindness simulation (non-destructive). */
export declare function simulateColorBlindnessCopy(source: ImageData, type: ColorBlindnessType): ImageData;
/** Apply color blindness filter to a canvas. */
export declare function applyColorBlindnessFilter(canvas: HTMLCanvasElement, type: ColorBlindnessType): void;
/** Simulate color blindness on a single RGB color. */
export declare function simulateColor(r: number, g: number, b: number, type: ColorBlindnessType): [number, number, number];
/** Generate an SVG filter for color blindness simulation. */
export declare function colorBlindnessSvgFilter(type: ColorBlindnessType, filterId?: string): string;
