/** * Route pluralisation, shared by every pack that derives a URL path from a model name. * * API Docs and SDK Publisher both build paths from the same models, and they had separate rules: * api-docs grew a `pluralization` option while sdk-publisher kept appending a bare `s`. With * `pluralization: 'english'` the spec documented `/categories` while the generated SDK called * `/categorys`, so the SDK 404'd against the mock server the same run had produced. One * implementation, imported by both, is the only way that stays fixed. */ export type Pluralization = 'literal' | 'english'; /** * `'literal'` (the default) appends a bare `s`, which is what every previously generated document * used — changing it silently would move a customer's routes. `'english'` applies the usual * -ies/-es rules. */ export declare function pluralizeRoute(word: string, mode?: Pluralization): string;