import type { CapabilityName, ExistingLegalEntity, VerificationErrorDto } from '../../api/legalEntity/legalEntity.types.d.ts'; import type { ExistingTransferInstrument } from '../../api/transferInstruments/transferInstruments.types.d.ts'; import type { CountryCode } from '../../types/datasets/country-code.d.ts'; import type { CapabilityProblems } from '../../types/errors/capability-problems.d.ts'; import type { EntityProblems } from '../../types/errors/entity-problems.d.ts'; import type { Remediation } from '../../types/errors/remediation.d.ts'; /** * Iterates of the verification subErrors's remediationAction to discover associated forms and fields (using mappings). * @param parentVerificationError - Parent verification * @param entityType - type of entity * @param country * @param isFeatureEnabled */ export declare const getInvalidInputError: (parentVerificationError: VerificationErrorDto, entityType: EntityProblems["entityType"]) => { verificationErrors: EntityProblems["verificationErrors"]; remediationActions: EntityProblems["remediationActions"]; }; /** * Converts Legal Entity API capability problem DTOs into the frontend-crafted `CapabilityProblems` * structure used for validation errors, remediation actions, missing data, and task statuses. * * @param entity - The entity containing capability problems. * @param country - The country code used to override verification errors. * @returns The capability problems represented as frontend `CapabilityProblems`. */ export declare function getCapabilityProblems(entity: ExistingLegalEntity | ExistingTransferInstrument, country: CountryCode): CapabilityProblems; export declare const remediationHasFileUploadField: (remediation: Remediation) => boolean; export declare const getCapabilities: (legalEntity?: ExistingLegalEntity) => CapabilityName[];