import { type SourceDecisionTable } from "#source-register"; import type { CanonicalRow } from "#types"; /** * The key a row is looked up under: the adapter that emitted it and the jurisdiction it describes. * * The register scopes a source to one publisher in one jurisdiction, * so an adapter id by itself cannot address a record. * One adapter serves several: `ban` emits eleven jurisdictions from one schema * and each is its own source under its own license decision. */ export declare function sourceEligibilityKey(adapterID: string, iso2: string): string; /** * Every register source's ingest-eligibility reasons, keyed by the adapter * and jurisdiction of the rows that recorded it. * * A source declaring no `adapterID` is absent from the map, because no adapter emits it * and no row can arrive under it. * An empty array is the only value a caller may read as permission. * An absent key is refused rather than admitted. */ export declare function readSourceEligibility(): Promise>; /** * The register's license decisions keyed by `licenseID`, with the audited `corpus-source-inputs.json` * a frozen training manifest resolves each source's decisions through. * * @throws When the source table fails its audit against the register. */ export declare function readSourceDecisionTable(): Promise; /** * Reads why a row's source may be refused from a release-eligible corpus. * Records each refused source. * * `refused` accumulates as rows arrive. * The build manifest reports the collected values. * * A build whose `eligibility` is `null` runs under the exploratory profile and every row reads eligible. */ export declare function createIneligibilityReader(eligibility: ReadonlyMap | null): { refused: Map; read: (row: CanonicalRow) => readonly string[] | null; }; //# sourceMappingURL=eligibility.d.ts.map