import type { Candidate, DocsyncConfig, MatchResult, MissingDoc, ScoredCandidate } from "./types.js"; /** Normalise a money-like token ("1 347,01", "1,347.01", "89.03") to a number. */ export declare function parseAmount(token: string): number | null; /** Pull candidate amounts from explicit hints plus the file/text as a fallback. */ export declare function extractAmounts(candidate: Candidate): number[]; /** Pull ISO dates from hints plus the file/text as a fallback. */ export declare function extractDates(candidate: Candidate): string[]; /** Reduce a party name to comparable word tokens (drops legal-form noise). */ export declare function tokenizeParty(name: string | null): string[]; /** Score one candidate for one missing doc. Returns null below any usable signal. */ export declare function scoreCandidate(missing: MissingDoc, candidate: Candidate, config: DocsyncConfig): ScoredCandidate | null; /** Match every missing doc against the candidate pool. */ export declare function matchAll(missing: MissingDoc[], candidates: Candidate[], config: DocsyncConfig): MatchResult[];