/** * Utilities for prompt generation in English */ export declare namespace EnglishGrammar { /** * Choose the article to use in English noun phrases (a vs an) * * This is only a partial implementation. * See https://www.grammar.com/a-vs-an-when-to-use/ * @param antecedent - Antecedent */ function article(antecedent: string): "a" | "an"; /** * Render a noun in singular or plural form * * Both the singular and plural form of the noun must be supplied as arguments. * * Rule: * * `1 -> singular` * * `else -> plural` (including zero) * * @param count - Count * @param singular - Singular form * @param plural - Plural form */ function renderNoun(count: number | string, singular: string, plural: string): string; } //# sourceMappingURL=EnglishGrammar.d.ts.map