import type { PathBuilderLike } from "path-ts"; import { type CorpusRecipe } from "#recipes/scaffold"; /** * Choose distinct postcodes without inheriting the publisher's row order. * * A prior sort makes the result independent of input order. * The seeded sample spreads reproducibly across the complete set. */ export declare function selectPostcodes(codes: Iterable, limit: number, seed: number): string[]; /** * Return every required input path that's absent, preserving declaration order for diagnostics. */ export declare function findMissingPostcodeSources

(paths: readonly P[], exists?: (path: P) => Promise): Promise; /** * Every surface a country writes for one postcode, spaced form first, or `[]` * when this recipe defines no form for that country or the code doesn't fit. * * Exported so a test can pin that every rendered surface is one {@linkcode detectedAsPostcode} accepts. */ export declare function renderBarePostcode(country: string, postcode: string): string[]; /** * Whether the `postal` family reads this surface as a postcode across its whole span. * * A surface the detector doesn't recognize would train the model on a string * the query-shape prior cannot then support. * The recipe holds no model card, so it reads the `postal` generation. */ export declare function detectedAsPostcode(surface: string): boolean; /** * Recipe registered with the corpus builder. */ export declare const barePostcodeRecipe: CorpusRecipe; //# sourceMappingURL=postcode.d.ts.map