import type { OutputEvent } from '../types/session-types.js'; export declare const MAX_RECORD_BYTES: number; export declare const MAX_TRANSCRIPT_BYTES: number; export declare const OUTPUT_CAPTURE_BANNER = ""; export interface SubagentOutputCaptureInput { sessionId: string | undefined; subagentId: string | undefined; isSubagentFork: boolean; model: string | undefined; } export declare function shouldCaptureSubagentOutput(input: SubagentOutputCaptureInput): boolean; export declare function sanitizeRecordText(text: string): string; export declare function buildOutputHeader(input: SubagentOutputCaptureInput): string; export declare function buildRecord(kind: 'say' | 'tool' | 'end', detail: { text?: string; toolName?: string; toolInput?: string; reason?: string; }): string; export interface SubagentOutputRecorder { observe(event: OutputEvent): void; end(reason: string): void; } export declare function createSubagentOutputRecorder(input: SubagentOutputCaptureInput): SubagentOutputRecorder | null;