import type { TUI } from '@earendil-works/pi-tui';
import type { ChatLog } from './components/chat-log.js';
import type { StreamAssembler } from './stream-assembler.js';
import type { TuiState } from './tui-types.js';
export declare function clearPendingToolCallIds(): void;
export declare function dispatchAgentSSE(event: string, data: Record<string, unknown>, state: TuiState, chatLog: ChatLog, assembler: StreamAssembler, tui: TUI, setActivityStatus: (status: string) => void, touchStreamingActivity?: () => void, 
/** Called when a run ends (result/error) so the TUI can flush follow-up queue, etc. */
onRunEnded?: () => void): void;
export declare const DEFAULT_STREAMING_WATCHDOG_MS = 30000;
