import type { WithParts } from "../state"; import type { ToolContext } from "./types"; import type { SearchContext } from "./types"; interface RunContext { ask(input: { permission: string; patterns: string[]; always: string[]; metadata: Record; }): Promise; metadata(input: { title: string; }): void; sessionID: string; } export interface NotificationEntry { blockId: number; runId: number; summary: string; summaryTokens: number; } export interface PreparedSession { rawMessages: WithParts[]; searchContext: SearchContext; } export declare function prepareSession(ctx: ToolContext, toolCtx: RunContext, title: string): Promise; export declare function finalizeSession(ctx: ToolContext, toolCtx: RunContext, rawMessages: WithParts[], entries: NotificationEntry[], batchTopic: string | undefined): Promise; export {}; //# sourceMappingURL=pipeline.d.ts.map