import type { PathBuilderLike } from "path-ts"; /** * One street line a premise register publishes. */ export interface StreetLine { country: string; street: string; locality?: string | null; } /** * What one write read and kept. */ export interface StreetIndexWriteCount { /** * Street lines read before folding. */ read: number; /** * Rows written, one per distinct folded (country, street, locality). */ written: number; byCountry: Map; } /** * Write a sealed street index at `out` from `lines`. * * Each street and locality is folded with `foldStreetSurface`, the fold the reader * applies to a probe, and a folded triple already written is skipped. */ export declare function writeStreetIndex(lines: Iterable | AsyncIterable, out: PathBuilderLike): Promise; //# sourceMappingURL=write.d.ts.map