export type ColorFormat = 'hex' | 'rgb' | 'hsl'; type ColorPickerSize = 'xs' | 'sm' | 'md' | 'lg'; interface ColorPickerProps { value?: string; swatches?: string[]; label?: string; /** Enable alpha channel / transparency. */ alpha?: boolean; /** Output format written to `value`. */ format?: ColorFormat; /** Show preset swatches. */ showSwatches?: boolean; size?: ColorPickerSize; disabled?: boolean; open?: boolean; class?: string; onchange?: (value: string) => void; } declare const ColorPicker: import("svelte").Component; type ColorPicker = ReturnType; export default ColorPicker;