import { ColorResult } from 'react-color';
import { UseColorPickerProps } from './types';
/**
 * Manage the local popover state and staged color selection for ColorPicker.
 */
export declare const useColorPicker: (props: UseColorPickerProps) => {
    anchorEl: HTMLElement | null;
    tempColor: string | undefined;
    triggerOwnerState: {
        size: import('@m4l/styles').Sizes;
        disabled: boolean | undefined;
        value: string | null | undefined;
        error: boolean;
        variant: import('../..').ColorPickerVariant;
    };
    handleOpenPicker: (event: React.SyntheticEvent<HTMLElement>) => void;
    handleClosePicker: () => void;
    handleColorChange: (color: ColorResult) => void;
    handleConfirm: () => void;
    handleQuickColorSelect: (nextColor: string | null) => void;
    handleCancel: () => void;
};
//# sourceMappingURL=useColorPicker.d.ts.map