import type { PathBuilderLike } from "path-ts"; import { type DuckDBLimits } from "#parquet/duckdb"; import { type CorpusAdapter } from "#types"; /** * The registers whose adapters publish premises (`AddressRole.Premise`), such as `us-dot-nad` and `fr-ban`. * * A register of practice, facility or counterparty addresses is left out: * its street field is the registrant's typing. * The splitter corrects that typing, so it cannot attest a street. */ export declare function premiseRegisters(adapters?: readonly CorpusAdapter[]): Set; /** * What one build read and wrote. */ export interface StreetIndexBuildReport { registers: string[]; files: number; /** * Distinct (country, street line, locality) triples read before folding. */ streetLines: number; /** * Rows written after folding, one per distinct folded triple. */ rows: number; byCountry: Record; } export interface BuildStreetIndexOptions { /** * The corpus manifest whose premise-register rows the index holds. */ manifest: PathBuilderLike; out: PathBuilderLike; limits?: DuckDBLimits; registers?: ReadonlySet; } /** * Build the street index from one corpus manifest's base rows whose `register` is a premise register. */ export declare function buildStreetIndex(options: BuildStreetIndexOptions): Promise; //# sourceMappingURL=build.d.ts.map