import { GetLabelType } from '@m4l/core';
import { Field } from '../../../../types';
import { NormalizedTextFieldPropsFromBackendResult } from './types';
/**
 * Reads `field.fieldType.rhfComponentProps`, keeps only values supported by `RHFTextField`, sets
 * `resolvedLabel` via {@link resolveFieldInputLabel}, and builds `startIcon` / `endIcon` as {@link Icon} elements
 * when legacy path aliases are present. Unknown keys or invalid value types are ignored.
 * Does not pass `InputProps` (controlled by DynamicForm or non-JSON).
 * `startAdormentPath` / `endAdormentPath` are mapped to icons using `assetBasePath` from DynamicForm context props.
 * @param field - Dynamic form field (backend props come from `field.fieldType.rhfComponentProps`).
 * @param getLabel - Dictionary label resolver for `resolveFieldInputLabel` fallback.
 * @param assetBasePath - Optional prefix for static assets (trailing slashes stripped); forwarded from host context.
 */
export declare function normalizeTextFieldPropsFromBackend(field: Field, getLabel: GetLabelType, assetBasePath?: string): NormalizedTextFieldPropsFromBackendResult;
//# sourceMappingURL=normalizeTextFieldPropsFromBackend.d.ts.map