import type { API } from 'zca-js'; import type { IHookFunctions } from 'n8n-workflow'; export type ZaloListenerEvent = 'message' | 'reaction' | 'undo' | 'group_event' | 'friend_event'; export declare function registerZaloWebhookListener(context: IHookFunctions, eventName: ZaloListenerEvent, bodyKey: string, filter?: (payload: Record) => boolean): Promise; export declare function teardownZaloWebhook(context: IHookFunctions): void;