import { BPComponentProps, UiConfigRendererContextType } from "./BPComponent"; import { BPValueComponent, BPValueComponentState } from "./BPValueComponent"; import type { ColorRepresentation } from "three"; export type BPColorComponentState = BPValueComponentState & { mode: 'number' | 'string' | 'Color'; lastValue?: ColorRepresentation; srgbConvert: boolean; }; export declare class BPColorInputComponent extends BPValueComponent { private _inputRef; private _tempColor; constructor(props: BPComponentProps, context: UiConfigRendererContextType); convertValueToState(val: ColorRepresentation, state: BPColorComponentState): BPColorComponentState; convertStateToValue(state: BPColorComponentState): Promise; forceOnChange: boolean; doesNeedRefresh(state: BPColorComponentState, _?: boolean): boolean; private _mouseButtons; componentDidMount(): void; private _mouseMove; componentWillUnmount(): void; private _hasMouseUp; private _mouseUp; refreshConfigState(state?: BPColorComponentState): Promise; protected flexBasis: string; render(): import("react/jsx-runtime").JSX.Element | null; }