import type { MaskSettings } from '../hooks/useForm/types.d.ts'; import type { Namespace, NsTranslatable, NsTranslationKey } from '../language/types.d.ts'; import type { PerCountry } from './perCountry.d.ts'; import type { ValidatorRule } from './validation/types.d.ts'; export interface FieldMetadata { label?: NsTranslationKey; 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;