export declare const ACTIVITY_STAGES: readonly ["contextualizing", "compacting_content", "searching_docs", "reviewing_results", "preparing_docs", "searching_web", "writing_answer", "checking_sources", "completed", "failed", "interrupted"]; export type ActivityStage = (typeof ACTIVITY_STAGES)[number]; export type ActivityState = 'started' | 'completed' | 'failed'; export interface ActivityEvent { type: 'status'; version: 1; requestId: string; sequence: number; stage: ActivityStage; state: ActivityState; detail: { searchRound?: number; documentCount?: number; retryable?: boolean; }; } export declare const ACTIVITY_LABELS: Record; export declare const ACTIVITY_COMPLETED_LABELS: Partial>; export declare const ACTIVITY_SEARCH_AGAIN_LABELS: { searching_docs_again: string; searching_docs_again_completed: string; }; /** Project only the closed, bounded public contract; never render server prose. */ export declare function parseActivity(value: any): ActivityEvent | undefined;