import type { CanonicalRow } from "#types"; /** * The row templates that {@link synthesizeBoundaryStressRow} can produce. */ export type BoundaryStressTemplate = "street-eats-affix" | "comma-less-city-state" | "fr-prefix" | "house-number-after-street" | "bare-locality" | "house-number-before-street"; /** * A locality, region, postcode and country used as an address tail. */ export interface BoundaryStressBaseTuple { locality: string; region: string; postcode: string; country: string; } /** * Options for {@link synthesizeBoundaryStressRow}. */ export interface BoundaryStressSynthesisOpts { random?: () => number; /** * A template to use instead of a sampled one. */ forceTemplate?: BoundaryStressTemplate; } /** * One synthesized row with its template. */ export interface SynthesizedBoundaryStressRow { raw: string; components: CanonicalRow["components"]; locale: string; template: BoundaryStressTemplate; } /** * Synthesizes one row from a sampled or forced template. * * When `base` is absent, the function samples a built-in US or French tuple that suits the template. */ export declare function synthesizeBoundaryStressRow(base: BoundaryStressBaseTuple | null, opts?: BoundaryStressSynthesisOpts): SynthesizedBoundaryStressRow; //# sourceMappingURL=boundary-stress.d.ts.map