/** @packageDocumentation
 * @module AccuDraw
 */
import "./AccuDrawInputField.scss";
import * as React from "react";
import type { ItemField } from "@itwin/core-frontend";
import type { CommonProps, IconSpec } from "@itwin/core-react";
/** Properties for [[AccuDrawInputField]] component
 * @public
 * @deprecated in 4.17.0. Use `React.ComponentProps<typeof AccuDrawInputField>`
 */
export interface AccuDrawInputFieldProps extends CommonProps {
    /** Which AccuDraw field this represents */
    field: ItemField;
    /** id for the input element */
    id: string;
    /** Indicates whether field is locked */
    isLocked?: boolean;
    /** Indicates whether the field is displaying bearing angles. */
    isBearingAngle?: boolean;
    /** label for the input element */
    label?: string;
    /** Icon for the input element.
     * @deprecated in 4.16.0. Use `icon` instead.
     */
    iconSpec?: IconSpec;
    /** Icon for the input element. */
    icon?: React.ReactNode;
    /** Custom CSS class name for the label */
    labelClassName?: string;
    /** Custom CSS Style for the label */
    labelStyle?: React.CSSProperties;
    /** Center justified label */
    labelCentered?: boolean;
    /** Triggered when the content is changed */
    onValueChanged: (stringValue: string) => void;
    /** Listens for <Enter> keypress */
    onEnterPressed?: () => void;
    /** Listens for <Esc> keypress */
    onEscPressed?: () => void;
    /** Listens for <Tab> keypress */
    onTabPressed?: () => void;
    /** Provides ability to return reference to HTMLInputElement */
    ref?: React.Ref<HTMLInputElement>;
}
/** Input field for AccuDraw UI.
 * @public
 */
export declare const AccuDrawInputField: (props: AccuDrawInputFieldProps) => React.ReactNode;
//# sourceMappingURL=AccuDrawInputField.d.ts.map