import { type ColorScheme, type ColorValue, type DualColor } from '@pixerate/editor/color'; interface Props { /** Dual colour value (CSS string, light-dark(), or { light, dark }) */ value?: ColorValue; /** Called when the dual colour value changes */ onchange?: (value: DualColor) => void; onChange?: (value: DualColor) => void; /** Controlled active scheme mode ('light' | 'dark') */ scheme?: ColorScheme; /** Called when the user toggles active scheme tab */ onschemechange?: (scheme: ColorScheme) => void; onSchemeChange?: (scheme: ColorScheme) => void; /** Expected background surfaces for derivation and preview */ surfaces?: DualColor; /** Optional background colour to evaluate contrast against in both modes */ contrastAgainst?: ColorValue; /** Whether alpha slider is shown */ alpha?: boolean; /** Preset swatches */ swatches?: readonly string[]; /** Whether picker is disabled */ disabled?: boolean; /** Additional CSS class name */ class?: string; className?: string; /** Gesture callbacks */ ongesturestart?: () => void; onGestureStart?: () => void; ongestureend?: () => void; onGestureEnd?: () => void; } declare const DualColorPicker: import("svelte").Component; type DualColorPicker = ReturnType; export default DualColorPicker;