import type { AssistantMessageFrame } from "@earendil-works/pi-ai"; import type { AgentToolResult } from "../../types.ts"; import type { Context } from "../context.ts"; import type { SessionReader } from "../session/types.ts"; import type { Lane } from "./lane.ts"; import type { Drive } from "./types.ts"; export interface ProgressChannel { write(item: T): void; seal(): void; drain(): Promise; } export declare function readAssistantFrames(reader: SessionReader, operationId: string, responseEntryId: string, context: Context): Promise; export declare function openFrameProgress(lane: Lane, drive: Drive, responseEntryId: string): ProgressChannel; export declare function openToolProgress(lane: Lane, drive: Drive, turnId: string, sourceIndex: number, invocationId: string): ProgressChannel>; //# sourceMappingURL=progress.d.ts.map