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<colorPicker.Props, 'ids' | 'dir' | 'getRootNode'> {
    ids?: ElementIds;
}
export interface CreateColorPickerReturn extends colorPicker.Api {
    getViewProps(props: {
        format: colorPicker.ColorFormat;
    }): HTMLAttributes<HTMLElement>;
    getFormats(): {
        label: string;
        value: colorPicker.ColorFormat;
    }[];
}
export declare function createColorPicker(props: Accessor<CreateColorPickerProps>): Accessor<CreateColorPickerReturn>;
export {};
