/** * Statutory chain BFS — UBO discovery for KYC. * * From a root IČO, fetch each statutory person, then for each person * search ARES for *other* companies where they appear (currently active). * Builds a tree of (ico → person → other company) relationships up to * a max depth. * * Heavy on ARES calls — caller should rate-limit / cache aggressively. */ import type { AresLike } from './clients.js'; import type { ChainResult } from './types.js'; export interface ChainOptions { maxDepth?: number; /** Skip persons whose name has fewer than N chars (avoid common-name explosion). */ minNameLength?: number; /** Override the COMMON_SURNAME_THRESHOLD auto-skip cutoff. */ commonSurnameThreshold?: number; } export declare function buildChain(rootIco: string, ares: AresLike, opts?: ChainOptions): Promise; //# sourceMappingURL=chain.d.ts.map