/** * Callback-query handler bodies — extracted from `plugin.ts` per the * `bot/CLAUDE.md` plugin file convention (callbacks.ts owns the * `.callbackQuery()` handler bodies; plugin.ts is wiring only). * * The CallbackData schemas themselves live with their owning feature * (waiver.ts, refund.ts) — those modules also export `buildXxxHandler` * factories for handlers that need richer dependencies (refund's flow * needs `stores + storage + cfg`). This file holds the simpler * inline-style handlers that didn't justify their own factory. * * - `buildWaiverConsentHandler({ cfg, catalog })` * persists consent, deletes the prompt message, re-enters the * invoice flow for the carried productKey. * - `buildWaiverCancelHandler()` * acknowledges the tap and edits the prompt to a "canceled" * message. * - `buildRefundCloseHandler()` * admin-only: deletes the DM notification on the close button. */ import type { BotPaymentsConfig, ProductCatalog } from "./types.js"; export declare const buildWaiverConsentHandler: (args: { cfg: BotPaymentsConfig; catalog: ProductCatalog; }) => (ctx: unknown) => Promise; export declare const buildWaiverCancelHandler: () => (ctx: unknown) => Promise; export declare const buildRefundCloseHandler: () => (ctx: unknown) => Promise; //# sourceMappingURL=callbacks.d.ts.map