openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
9 lines (8 loc) • 355 B
TypeScript
import type { OpenClawConfig } from "../../config/config.js";
/** Drain queued system events, format as `System:` lines, return the block (or undefined). */
export declare function drainFormattedSystemEvents(params: {
cfg: OpenClawConfig;
sessionKey: string;
isMainSession: boolean;
isNewSession: boolean;
}): Promise<string | undefined>;