import type { CanonicalRow } from "#types"; export interface StreetBaseTuple { locality: string; region: string; postcode: string; country: string; } export interface SynthesizedStreetRow { raw: string; components: CanonicalRow["components"]; locale: string; } export interface StreetSynthesisOpts { random?: () => number; /** * Probability of emitting house_number alongside the street. * * @defaultValue `0.85` */ includeHouseNumberProb?: number; /** * Probability of emitting the street bare — no `, City, ST ZIP` tail and no region/locality/ * postcode components (just `street_prefix`/`street`/`street_suffix` + optional `house_number`). * * Set >0 to teach the model that a bare `10th Ave` / `Main St` is a street rather than a * locality — the functional-test failure cluster (bare streets mislabeled `locality`), * the bare-format analogue of the v0.7.x intersection-bare fix. * * @defaultValue `0` (leaves the original full-address output exactly as it was, including the RNG sequence) */ bareProb?: number; } /** * Synthesize a US street address with decomposed Stage 3 components. * * The street is built from prefix + name + suffix, then passed through the same * `decomposeStreet()` utility the tiger adapter uses — guarantees the synthetic * distribution matches the canonical decomposition logic. */ export declare function synthesizeStreetRow(base: StreetBaseTuple, opts?: StreetSynthesisOpts): SynthesizedStreetRow | null; //# sourceMappingURL=street.d.ts.map