/** * Message processing loop. * * Polls SQLite for pending messages, dispatches to pi agent, sends response * back to Discord. Enforces per-channel serial processing and global * concurrency limit. */ export declare function isChannelProcessing(jid: string): boolean; export declare function abortChannelTask(jid: string): { aborted: boolean; cleared: number; }; export declare function startProcessingLoop(): void; export declare function stopProcessingLoop(opts?: { timeoutMs?: number; }): Promise;