import { GetLabelType } from '@m4l/core';
import { ReactElement } from 'react';
/**
 * Slot overrides for the rendered elements in resolveFieldComponent strategies.
 */
export interface ResolveFieldComponentSlots {
    /** Overrides the default warning chip rendered in the endIcon position when the field is a fallback. */
    fallbackEndIcon?: ReactElement;
}
/**
 * Props passed to resolveFieldComponent. Only layout/context props; the rest are taken from the field.
 */
export interface ResolveFieldComponentProps {
    size?: 'small' | 'medium';
    disabled?: boolean;
    readOnly?: boolean;
    /** Base URL for static assets (usually `host_static_assets/environment_assets`). */
    assetBasePath?: string;
    /** Remote API base URL (`host_api_remote`); used to resolve relative `startAdornment` paths on select options. */
    hostApiRemote?: string;
    /** Module dictionary resolver (required for missing `field.label` fallback). */
    getLabel: GetLabelType;
    /** Slot overrides for the rendered field elements. */
    slots?: ResolveFieldComponentSlots;
    /**
     * When true, strategies omit `label`, `mandatory`, and `symbol` from the rendered RHF component.
     * Use this when the caller (e.g. DynamicFormContent via PropertyValue) provides the label externally.
     */
    suppressLabel?: boolean;
}
//# sourceMappingURL=types.d.ts.map