import type { PathBuilderLike } from "path-ts"; /** * The register a skeleton file's rows were published in. * * It prefixes the `base_source_id` a recipe derives from the file. */ export declare const USSkeletonRegister: { readonly OpenAddresses: "openaddresses"; readonly NationalAddressDatabase: "usgov-nad"; }; export type USSkeletonRegister = (typeof USSkeletonRegister)[keyof typeof USSkeletonRegister]; /** * One cached US skeleton file: the zip, its CSV member and the region every row of it lies in. */ export interface USSkeletonSource { zip: PathBuilderLike; csv: string; region: string; register: USSkeletonRegister; } /** * The data-root directory holding the NAD samples and ZIP-to-city tables the NAD skeleton tool writes. */ export declare const NAD_SKELETON_DIRECTORY = "nad-skeletons"; /** * The states sampled from NAD, chosen for address shapes the OpenAddresses files lack * rather than for row count. * * Distinct tuples of those six files include a unit on 0.6% of rows. * No tuple has a hyphenated or direction-prefixed house number. * * Each comment states the shape measured over the usable rows of the FeatureServer * pages fetched on 2026-05-18. * `nad-skeletons.run.ts` prints the table for every state. * * Vermont is absent because it is the eval holdout. * No state's rows match a rural-route street pattern, so NAD adds no rural-route form. */ export declare const NAD_SKELETON_STATES: readonly ["IL", "MA", "UT", "WI", "NY", "TX"]; /** * The zip and CSV member the NAD skeleton tool writes for one state. */ export declare function nadSkeletonFile(region: string): { zip: PathBuilderLike; csv: string; }; /** * The NAD skeleton file for every state in {@link NAD_SKELETON_STATES}. */ export declare const NAD_SKELETON_SOURCES: readonly USSkeletonSource[]; /** * The cached OpenAddresses US extracts used for training. * * `us/il/cook` is absent because Cook County's terms restrict redistribution. * NAD's Illinois sample stands in for its city grid. */ export declare const OA_SKELETON_TRAIN_SOURCES: readonly USSkeletonSource[]; /** * Every US training skeleton: the OpenAddresses extracts and the NAD samples. */ export declare const US_SKELETON_TRAIN_SOURCES: readonly USSkeletonSource[]; /** * Vermont, the corpus holdout — `--golden` reads this and no other US source. */ export declare const US_SKELETON_EVAL_SOURCE: USSkeletonSource; /** * A county whose NAD rows give the ZIP-to-city table the `intersection` recipe renders city tails from. */ export interface NADZipCityCounty { region: string; county: string; } /** * The counties of the `intersection` recipe's TIGER training crossings, Cook IL and Morris NJ. */ export declare const NAD_ZIP_CITY_COUNTIES: readonly NADZipCityCounty[]; /** * The ZIP-to-city CSV the NAD skeleton tool writes for one county. */ export declare function nadZipCityPath(entry: NADZipCityCounty): PathBuilderLike; //# sourceMappingURL=skeleton-sources.d.ts.map