import type { ClientHistoryMessage } from './client-history.js'; export interface PublicExecutionStep { id: string; kind: 'progress' | 'thinking' | 'tool'; category?: string; text?: string; preview?: string; failure?: string; status?: 'running' | 'done' | 'error'; } export interface PublicExecutionDetail { turnId: string; steps: PublicExecutionStep[]; } /** A bounded, public projection of stored activity. Never forwards raw reasoning or tool output. */ export declare function publicExecutionDetail(messages: ClientHistoryMessage[], turnId: string): PublicExecutionDetail | null;