import type { IBANValidationResult } from "./types.js"; /** * Function to validate an International Bank Account Number (IBAN). It takes a control parameter, which can be either a string or an object with a value property that is a string. * * - Object input (e.g. an Angular form control): returns null if the IBAN is valid. * - String input: returns `{ ibanInvalid: false, error: null }` if the IBAN is valid. * * If the IBAN is invalid, it returns an object with `ibanInvalid: true` and an error object with the properties countryUnsupported, codeLengthInvalid, patternInvalid and checksumInvalid. Empty values return null. * @param {any} control string | Partial<{value:string}> * @returns {any} IBANValidationResult | null */ export declare function validateIBAN(control: string | Partial<{ value: string; }>): IBANValidationResult | null; /** * Returns true if the given string is a valid IBAN. Spaces, dashes and lowercase letters are allowed. * @param {string} value IBAN to validate * @returns {boolean} */ export declare function isValidIBAN(value: string): boolean;