import type { CompanyDatasetResponseAddress } from '../../../../api/companyDataSet/companyDataset.types';
import type { AddressSchema } from '../../../Shared/forms/Address/types';
/**
 * Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode']
 *
 * @param field - field in formSchema
 * @param data - data in useForm
 * @param trustedFields - trustedFields on legal entity
 * @returns An array of the nested field keys that are trusted
 */
export declare const getNestedTrustedFields: <FormSchema>(field: keyof FormSchema, data: FormSchema | undefined, trustedFields: string[] | undefined) => Array<keyof FormSchema>;
export declare const mapAddressData: (verifiedBusiness: CompanyDatasetResponseAddress) => AddressSchema;
export declare const isDateOlderThanAYear: (dateString: string | undefined) => boolean;
