export declare function normalize(name: string): string; /** * Normalize a country name, resolving known aliases to DB canonical names. */ export declare function normalizeCountry(country: string): string; /** * Resolve a team name + country to the DB canonical form. * Returns null if no alias exists. */ export declare function resolveTeamAlias(normName: string, normCountry: string): { name: string; country: string; } | null; /** * The two name markers the axes are read from. They live here rather than in * `classification/squad-gender` because that module imports them, so the * dependency runs one way only. * * Read them through `markersFromName`, which answers each axis independently * and returns *absent* rather than a default when a name says nothing. A bare * `.test()` treats silence as an assertion, which is what made an unmarked * name read as "men's" and cost LEA-7 a great many correct links. */ export declare const WOMEN_PATTERN: RegExp; export declare const YOUTH_PATTERN: RegExp; /** * Resolve a league name + country to the DB canonical form. * Returns null if no alias exists. */ export declare function resolveLeagueAlias(normName: string, normCountry: string): { name: string; country: string; } | null; /** * Every distinct `normalizedName::normalizedCountry` this table rewrites TO. * * Exposed so a rename can be checked against it before it is applied: each one * has to name a league we actually hold, and a rename is the only thing that * silently makes one stop doing so. `staleLeagueAliasTargets` in * `matching/league-display-names` is the check. */ export declare function leagueAliasTargets(): string[]; //# sourceMappingURL=normalize.d.ts.map