/**
 * IPC protocol — stdin/stdout JSON lines for Rust↔Node communication.
 * Rust launcher sends JSON requests, Node dispatches to core functions,
 * sends JSON responses back. Events pushed to stdout as well.
 *
 * Protocol:
 *   Request:  { "_action": "getMessages", "_cbid": "5", "accountId": "bobma", ... }
 *   Response: { "_type": "response", "_cbid": "5", "result": { ... } }
 *   Error:    { "_type": "error", "_cbid": "5", "error": "message" }
 *   Event:    { "_type": "event", "data": { "type": "folderCountsChanged", ... } }
 */
export declare function startIPC(): Promise<void>;
//# sourceMappingURL=ipc.d.ts.map