import { AbstractValidatableDocumentRules } from '../../contracts/abstract-validatable-document-rules.js'; import { ReasonCode } from '../../contracts/reason-code.js'; import { type DocumentMeta } from '../../contracts/validation-result.js'; import type { StateCode } from './state-enum.js'; export declare class IEValidation extends AbstractValidatableDocumentRules { private rule; private readonly state; constructor(value: string, state: StateCode | number); /** * Generates a valid IE for the given state. * * Uses rejection sampling: it draws random numbers of the state's valid * length(s) and keeps the first that passes validate(). This reuses the * already-tested per-state rules instead of reproducing all 27 algorithms. * * Intended for tests/fixtures, not a hot path. States with 13-digit formats * (AC, DF) have a sparser valid space and can take longer. */ static generate(state: StateCode | number): string; protected doRule(): this; protected documentName(): string; protected doValidate(): ReasonCode | null; /** The UF is known upfront (it is the dispatch key), so echo it back as metadata. */ protected extractMeta(): DocumentMeta; }