import type { ParquetRow } from "#parquet/schema"; /** * The text and span triple an address key reads. */ export type AddressKeyRow = Pick; /** * Lower case, marks stripped, every run of characters other than letters and digits one space. */ export declare function foldKeyText(text: string): string; /** * Every span's text under `tags`, joined by a space in the row's order. */ export declare function labeledSpanText(row: AddressKeyRow, tags: ReadonlySet): string; /** * The text of the first span tagged `tag` in a corpus file aliased `alias`, * as a DuckDB expression, NULL when the row has none. * * DuckDB counts characters by code point and the spans by UTF-16 unit, so in a row * holding a character outside the Basic Multilingual Plane before the span the * expression reads text shifted by one per such character. */ export declare function aliasedSpanSQL(alias: string, tag: string): string; //# sourceMappingURL=address-key.d.ts.map