import type { TaxInformation } from '../../../../core/models/api/organization';
import type { CountryCode } from '../../../../types/datasets/country-code';
/**
 * Immutably upserts a TaxInformation entry for a given country within the tax information array.
 * - If the array doesn't exist, creates a new one with the entry.
 * - If the country already has an entry, replaces it in-place.
 * - If the country has no entry yet, appends the new entry.
 */
export declare function upsertTaxInfoForCountry(taxInformation: TaxInformation[] | undefined, country: CountryCode, newEntry: TaxInformation): TaxInformation[];
/**
 * Removes all TaxInformation entries for the given country from the array.
 */
export declare function removeTaxInfoForCountry(taxInformation: TaxInformation[] | undefined, country: CountryCode): TaxInformation[] | undefined;
