import type { SharedContext } from "../core2/snapshot.js"; import { type SingleResult } from "../types/flow.js"; type FlowLivePhase = "boot" | "running" | "done"; export interface FlowLiveState { phase: FlowLivePhase; sharedContext?: SharedContext; model?: string; maxContextTokens?: number; contextTokens?: number; flowType?: string; intent?: string; aim?: string; } export interface BeginFlowLiveSessionOpts { sharedContext?: SharedContext; model?: string; maxContextTokens?: number; intent: string; aim?: string; flowType?: string; prompt?: string; } export declare function beginFlowLiveSession(toolCallId: string, opts: BeginFlowLiveSessionOpts): void; export declare function markFlowLiveRunning(toolCallId: string): void; export declare function endFlowLiveSession(toolCallId: string): void; export declare function getFlowLiveState(toolCallId: string | undefined): FlowLiveState | undefined; /** Synthetic in-progress result while the host renders before runFlow's first partial. */ export declare function buildBootPhaseSingleResult(live: FlowLiveState | undefined, flowRequest?: { type?: string; intent?: string; aim?: string; model?: string; maxContextTokens?: number; }): SingleResult | undefined; export {}; //# sourceMappingURL=flow-live-state.d.ts.map