/**
 * This utility file contains functions for handling tax information across different entity types.
 * It provides functionality to find existing tax information and determine default tax ID number types
 * based on country and entity type.
 */
import type { CompanyTypesValue } from '../../../../../core/models/api/company-types-value';
import type { LegalEntityTypes } from '../../../../../core/models/api/legal-entity-type';
import type { TaxInformation } from '../../../../../core/models/api/organization';
import type { CountryCode } from '../../../../../types/datasets/country-code';
import type { TaxIdNumberType } from '../types';
/**
 * Finds tax information for a specific country from an array of tax information objects.
 *
 * @param taxInformation - Array of tax information objects to search through
 * @param country - Country code to find tax information for
 * @returns The first matching tax information object or undefined if none found
 */
export declare function findExistingTaxInformation(taxInformation: TaxInformation[] | undefined, country: CountryCode): TaxInformation | undefined;
/**
 * Determines the default tax ID number type based on existing information and entity type.
 * This function follows a priority order:
 * 1. Use the type from existing tax information if available
 * 2. If there's a tax number but no type, infer the type from the number
 * 3. Otherwise, use the first available tax ID option for the country and entity type
 *
 * @param taxInformation - Array of tax information objects
 * @param country - Country code to determine the tax ID type for
 * @param entityType - Type of entity (company type or individual)
 * @returns The determined tax ID number type or undefined if none can be determined
 */
export declare function getDefaultTaxIdNumberType(taxInformation: TaxInformation[] | undefined, country: CountryCode, entityType: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL | undefined, invertCompanyTypeFilter?: boolean): TaxIdNumberType | undefined;
