import type { KlawConfig } from "../../config/types.klaw.js"; export type FormattedSystemEventBlock = { text: string; forceSenderIsOwnerFalse: boolean; }; /** Drain queued system events, format as `System:` lines, return the block with authority metadata. */ export declare function drainFormattedSystemEventBlock(params: { cfg: KlawConfig; sessionKey: string; isMainSession: boolean; isNewSession: boolean; }): Promise; /** Drain queued system events, format as `System:` lines, return the block text (or undefined). */ export declare function drainFormattedSystemEvents(params: { cfg: KlawConfig; sessionKey: string; isMainSession: boolean; isNewSession: boolean; }): Promise;