interface Props { /** The current colour value (any valid CSS colour string or hex). */ value: string; /** Called when the colour value changes. */ onchange?: (value: string) => void; onChange?: (value: string) => void; /** Called when a continuous pointer drag or keyboard interaction starts. */ ongesturestart?: () => void; onGestureStart?: () => void; /** Called when a continuous pointer drag or keyboard interaction ends. */ ongestureend?: () => void; onGestureEnd?: () => void; /** Whether the alpha channel slider is shown and alpha hex values emitted. Default: false. */ alpha?: boolean; /** Palette swatches shown beneath the sliders. */ swatches?: readonly string[]; /** Controlled recent colours. If omitted, internal recents persisted in localStorage are used. */ recent?: readonly string[]; /** Called when the list of recent colours changes. */ onrecentchange?: (recent: readonly string[]) => void; onRecentChange?: (recent: readonly string[]) => void; /** If provided, renders live WCAG contrast ratio badges against this background colour. */ contrastAgainst?: string; /** Whether the picker is disabled. */ disabled?: boolean; /** Additional CSS class names for the outer container. */ class?: string; className?: string; /** Optional DOM id for the container. */ id?: string; /** Accessible label for the colour picker group. */ 'aria-label'?: string; } declare const ColorPicker: import("svelte").Component; type ColorPicker = ReturnType; export default ColorPicker;