import { WhatsAppClient } from "./client.js"; import type { ParsedCommand } from "./message-parser.js"; export interface HandlersConfig { mpAccessToken: string; currency: string; successUrl?: string; } export declare function createCommandHandlers(config: HandlersConfig): { handleCommand: (wa: WhatsAppClient, phoneNumber: string, parsed: ParsedCommand) => Promise; }; export declare function createPaymentNotifier(wa: WhatsAppClient, notifyPhone: string): (payment: unknown) => Promise;