import type { MaskSettings } from '../hooks/useForm/types'; import type { Namespace, NsTranslatable, NsTranslationKey } from '../../types'; import type { PerCountry } from './perCountry'; import type { ValidatorRule } from './validation/types'; export interface FieldMetadata { label?: NsTranslationKey<'common'>; guidanceText?: NsTranslatable; mask?: MaskSettings; validators?: ValidatorRule | ValidatorRule[]; } export type PerCountryFieldConfig = PerCountry | ((params: Params) => FieldMetadata)>; export type NoParams = Record; export declare const resolveFieldMetadata: (countryEntry: FieldMetadata | ((params: Params) => FieldMetadata) | undefined, params: Params, defaultMetadata: FieldMetadata) => FieldMetadata;