import type { ChatMessage } from "../../../types.js"; import type { SessionPlan } from "../../../store/plan.js"; import type { BackgroundJob } from "../../../tools/jobs.js"; import type { TurnEvidenceFlags } from "../evidence-flags.js"; export interface SessionStateSetupInput { readonly messages: ChatMessage[]; readonly prompt: string; readonly requestContextMessage: string; readonly refreshInjectedBlocks: () => void; readonly suppressed: boolean; readonly requiresState: boolean; readonly featureAppAsk: boolean; readonly pentestSession: boolean; readonly evidenceFlags: TurnEvidenceFlags; readonly activePlan: () => SessionPlan | undefined; readonly planApproved: () => boolean; readonly runningJobs: () => readonly BackgroundJob[]; readonly projectRoot: () => string | undefined; } export declare const buildSessionStateRefresher: (input: SessionStateSetupInput) => ((plan?: SessionPlan | null | undefined) => void);