import { ColorPickerConfig } from './types';
export type { ColorPickerConfig } from './types';
export declare class ColorPicker {
    private readonly container;
    private readonly config;
    private readonly id;
    private rgba;
    private hue;
    private saturation;
    private brightness;
    private swatchEl;
    private panelEl;
    private satCanvas;
    private hueCanvas;
    private alphaCanvas;
    private hexInput;
    private rInput;
    private gInput;
    private bInput;
    private isOpen;
    private readonly boundOnDocClick;
    private activeDrag;
    constructor(config: ColorPickerConfig);
    /** Get the current color value in the configured format */
    getValue(): string;
    /** Set the color value (accepts hex, updates all internal state) */
    setValue(color: string): void;
    /** Clean up DOM and event listeners */
    destroy(): void;
    /** Format the output color value based on the configured format */
    private formatOutput;
    /** Build the full DOM structure */
    private render;
    /** Build a small number input group */
    private buildNumberInput;
    /** Sync HSV values from the current RGBA and update UI */
    private syncFromRgba;
    /** Toggle the picker panel open/closed */
    private togglePanel;
    /** Open the picker panel */
    private openPanel;
    /** Close the picker panel */
    private closePanel;
    /** Handle document click to close panel */
    private onDocumentClick;
    /** Draw the saturation/brightness 2D gradient */
    private drawSaturation;
    /** Draw the hue rainbow slider */
    private drawHue;
    /** Draw the alpha slider with checkerboard background */
    private drawAlpha;
    /** Update all UI elements to reflect current state */
    private updateAllUI;
    /** Emit the onChange callback */
    private emitChange;
    /** Announce color change to screen readers */
    private announceColor;
    private readonly onSatMouseDown;
    private readonly onSatTouchStart;
    private updateSatFromPos;
    private updateSatFromClient;
    private readonly onHueMouseDown;
    private readonly onHueTouchStart;
    private updateHueFromPos;
    private updateHueFromClient;
    private readonly onAlphaMouseDown;
    private readonly onAlphaTouchStart;
    private updateAlphaFromPos;
    private updateAlphaFromClient;
    private readonly onMouseMove;
    private readonly onMouseUp;
    private readonly onTouchMove;
    private readonly onTouchEnd;
    private readonly onSatKeyDown;
    private readonly onHueKeyDown;
    private readonly onAlphaKeyDown;
}
//# sourceMappingURL=index.d.ts.map