/** @packageDocumentation * @module PropertyEditors */ import "./WeightEditor.scss"; import * as React from "react"; import type { PropertyValue } from "@itwin/appui-abstract"; import type { PropertyEditorProps, TypeEditor } from "@itwin/components-react"; import { PropertyEditorBase } from "@itwin/components-react"; /** @internal */ interface WeightEditorState { weightValue: number; readonly: boolean; isDisabled?: boolean; } /** WeightEditor React component that is a property editor for picking a weight using a [[WeightPickerButton]] component * @public */ export declare class WeightEditor extends React.PureComponent implements TypeEditor { private _control; private _isMounted; private _availableWeights; private _divElement; readonly state: Readonly; constructor(props: PropertyEditorProps); getPropertyValue(): Promise; get htmlElement(): HTMLElement | null; get hasFocus(): boolean; private setFocus; private _onLineWeightPick; componentDidMount(): void; componentWillUnmount(): void; /** @internal */ componentDidUpdate(prevProps: PropertyEditorProps): void; private setStateFromProps; render(): React.JSX.Element; } /** Weight Property Editor registered for the "number" type name and "weight-picker" editor name. * It uses the [[WeightEditor]] React component. * @public */ export declare class WeightPropertyEditor extends PropertyEditorBase { get reactNode(): React.ReactNode; } export {}; //# sourceMappingURL=WeightEditor.d.ts.map