import { Input as Primitive } from "@base-ui/react/input"; import * as React from "react"; /** * The inline height an autosizing textarea should carry, or `""` for "leave it to CSS". * * ponytail: this whole observer is here only until `field-sizing: content` is baseline. One CSS * line does the same job. Ceiling: it does not exist in every browser we support yet. */ export declare function textareaHeight(clientWidth: number, scrollHeight: number): string; type FieldChrome = { label?: React.ReactNode; /** * The message under the field. Its presence is what wires `aria-invalid` and * `aria-describedby`, so a field that looks wrong also announces that it is. */ error?: React.ReactNode; /** * Classes for the control. A plain string here, not Base UI's state-callback form: this * component renders a native `