import { FieldProps } from './types'; /** * Returns props with controlled value handling for remote components. It works * by omitting values resulting from a remotely executed event handler. These * values are marked by the `controlledRemoteValueMarker`. * * This hook is only necessary for text inputs. If not used the controlled input * value may be corrupted by interleaved host inputs and remote events. * * @param emptyValue What the field reports while nothing has been entered — * `""` for a text input, `NaN` for a number, `null` for a date range. It is * the sentinel that keeps the field controlled from the first render; see * that convention in the package's AGENTS.md. */ export declare const useControlledHostValueProps: (props: FieldProps, emptyValue: T) => { value?: T | undefined; defaultValue?: T | undefined; onChange?: ((value: T, ...args: never[]) => void) | undefined; } & P & { value: T; onChange: (v: any) => void; };