import type { FillMode } from './types.js'; interface Props { /** Active CSS colour (hex/rgb/hsl etc.) or CSS gradient string. */ value: string; /** Called when the fill value changes. */ onchange?: (value: string) => void; onChange?: (value: string) => void; /** Called when a continuous pointer drag starts. */ ongesturestart?: () => void; onGestureStart?: () => void; /** Called when a continuous pointer drag ends. */ ongestureend?: () => void; onGestureEnd?: () => void; /** Allowed fill modes. Default: ['solid', 'gradient']. */ modes?: readonly FillMode[]; /** Whether the alpha channel slider is shown on ColorPicker. Default: false. */ alpha?: boolean; /** Preset swatches for ColorPicker. */ swatches?: readonly string[]; /** Whether the gradient editor shows preset buttons. Default: true. */ showPresets?: boolean; /** Whether the gradient editor shows the CSS output with a copy button. Default: false. */ showCss?: boolean; /** Additional CSS class names. */ class?: string; className?: string; /** Whether the picker is disabled. */ disabled?: boolean; } declare const FillPicker: import("svelte").Component; type FillPicker = ReturnType; export default FillPicker;