import type { IngressSink } from "@copilotkit/channels-core"; import type { ChangeValue } from "./types.js"; import type { HistoryStore } from "./history-store.js"; import type { WhatsAppClient } from "./client.js"; import type { FileDeliveryConfig } from "./download-files.js"; export interface WebhookListenerArgs { sink: IngressSink; history: HistoryStore; phoneNumberId: string; tenantId?: string; commandPrefix: string; client: Pick; files: FileDeliveryConfig; } /** Process one webhook `value` object: classify each message and emit to the sink. */ export declare function handleWebhookValue(value: ChangeValue, args: WebhookListenerArgs): Promise; //# sourceMappingURL=webhook-listener.d.ts.map