/** * Slash-command handlers. The `/paysupport` command is mandated by * Telegram Bot Developer ToS §6.5 — every bot accepting payments must * expose a way for users to reach support about charges. * * The actual command registration (`.command("paysupport", { … }, fn)`) * happens in `plugin.ts`; this module owns the body + the response * text so wording stays in one place. */ import type { BotPaymentsConfig } from "./types.js"; /** * Mandatory `/paysupport` text. ToS §6.5 requires every bot accepting * payments to expose this. Brief message pointing the user to the menu * (where the refund flow lives) and to the human admin contact. * * Exported because tests + future admin tooling may want to render the * exact wording the bot uses without going through the command handler. */ export declare const buildPaysupportText: (cfg: BotPaymentsConfig, lang: string) => string; /** * Returns the `/paysupport` command handler. Pure factory — `plugin.ts` * calls this once at construction and passes the result to gramio's * `.command()`. */ export declare const buildPaysupportCommand: (cfg: BotPaymentsConfig) => (ctx: unknown) => Promise; //# sourceMappingURL=commands.d.ts.map