import * as colorPicker from '@zag-js/color-picker'; import type { HTMLAttributes } from 'svelte/elements'; import type { Accessor } from '../types.js'; interface ElementIds extends colorPicker.ElementIds { view?: string; } export interface CreateColorPickerProps extends Omit { ids?: ElementIds; } export interface CreateColorPickerReturn extends colorPicker.Api { getViewProps(props: { format: colorPicker.ColorFormat; }): HTMLAttributes; getFormats(): { label: string; value: colorPicker.ColorFormat; }[]; } export declare function createColorPicker(props: Accessor): Accessor; export {};