import { ReactElement } from 'react';
import { Field } from '../../types';
import { ResolveFieldComponentProps } from './types';
/**
 * Resolves the RHF component for a given field type using the strategy registry.
 * Each component name (e.g. RHFTextField, RHFSelect) is handled by a dedicated strategy.
 * When the componentId is unknown, null, or undefined, falls back to RHFTextField so the
 * field persists in the form and remains editable.
 * @param field - Dynamic form field (name, placeholder, componentProps, etc. come from here)
 * @param props - Layout/context props (size, disabled, readOnly, getLabel from `useModuleDictionary`)
 * @returns Rendered RHF component (fallbacks to RHFTextField when the strategy is not found)
 */
export declare function resolveFieldComponent(field: Field, props: ResolveFieldComponentProps): ReactElement | null;
//# sourceMappingURL=resolveFieldComponent.d.ts.map