export declare const SUPERVISION_WATCH_KIND: "supervision.watch"; export declare const SUPERVISION_MODE_LIVE_STEER: "live_steer"; export declare const MAX_SUPERVISION_OBSERVERS = 4; export declare const DEFAULT_STEERS_PER_SUBJECT_TURN = 3; export declare const SUPERVISION_EXCERPT_CHARS = 500; export declare const SUPERVISION_CONTENT_FLUSH_CHARS = 4096; export declare const SUPERVISION_SNAPSHOT_MESSAGE_LIMIT = 8; export declare const SUPERVISION_WATCH_PROTOCOL_NOTE: string; export type SupervisionMode = typeof SUPERVISION_MODE_LIVE_STEER; export type SupervisionTurnRole = "worker" | "observer"; export type SupervisionSteerAction = "nudge" | "interrupt"; export type SupervisionMilestoneKind = "turn.started" | "tool.started" | "tool.completed" | "content.flushed" | "turn.terminal"; export interface SupervisionPairSpec { observers: readonly string[]; mode: SupervisionMode; } export interface SupervisionWatchWorker { actorId: string; turnId: string; } export interface SupervisionSnapshotTool { name: string; status: "started" | "completed"; toolCallId?: string; } export interface SupervisionSnapshotMessage { eventId: string; excerpt: string; } export interface SupervisionSnapshot { turnId: string; status: string; deliveryCertainty?: string; lastSeq: number; watchCursor: number; terminal: boolean; subjectCancelled: boolean; task: { eventId: string; excerpt: string; }; messages: SupervisionSnapshotMessage[]; tools: SupervisionSnapshotTool[]; steerCount: number; lastSteerReason?: string; } export interface SupervisionMilestone { kind: SupervisionMilestoneKind; turnId: string; watchCursor: number; seq: number | null; status?: string; tool?: SupervisionSnapshotTool; excerpt?: string; } export declare function isSupervisionWatchMessage(body: unknown): boolean; export declare function excerptText(value: string, maxChars?: number): string; export declare function toolNameFromDetails(details: unknown): string; export declare function buildSupervisionWatchBrief(input: { task: string; workers: readonly SupervisionWatchWorker[]; observers: readonly string[]; }): string; //# sourceMappingURL=supervision.d.ts.map