import type { API } from 'zca-js'; import type { IDataObject, ITriggerFunctions } from 'n8n-workflow'; export type ListenerEvent = 'message' | 'reaction' | 'undo' | 'group_event'; export type GroupFilterMode = 'all' | 'include' | 'exclude'; export declare function setupZaloListener(context: ITriggerFunctions, eventName: ListenerEvent, handler: (payload: IDataObject) => void): Promise<{ api: API; cleanup: () => void; }>; export declare function setupZaloMultiListener(context: ITriggerFunctions, emit: (payload: IDataObject) => void): Promise<{ api: API; cleanup: () => void; }>;