import type { WhatsAppEvent } from 'whatsapp-rust-bridge'; import type { SocketContext } from './types.js'; /** * Create the event handler that translates canonical events into Baileys * events on `ctx.ev`. The handler does NO bridge-shape inspection — that's * the adapter's job. Any field-access here references the canonical types * exclusively, which means a `tsc` failure if a downstream rename ever * leaks into the canonical contract. */ export declare const makeEventHandler: (ctx: SocketContext, callbacks?: { onPairSuccess?: (data: { platform?: string; businessName?: string; }) => void | Promise; }) => (event: WhatsAppEvent) => void; //# sourceMappingURL=events.d.ts.map