export type TranscriptAdapter = 'claude' | 'codex' | 'cursor'; export interface TranscriptTarget { id: string; adapter: TranscriptAdapter; root: string; workspace: string; enabled: boolean; fromStart: boolean; since: number; } export declare function captureOwner(home: string): string; export declare function captureCredential(home: string): string; export declare function workspaceRoot(path: string): string; export declare function privateJson(home: string, name: string, value: unknown): void; export declare function readPrivateJson(home: string, name: string, maxBytes?: number): unknown; export declare function defaultTranscriptRoot(adapter: TranscriptAdapter, userHome?: string): string; export declare function transcriptStatus(home: string): { lastError?: string; lastScan?: number; enabled: boolean; targets: TranscriptTarget[]; requiresAutomaticCapture: boolean; defaultFromStart: boolean; }; export declare function transcriptTargets(home: string): TranscriptTarget[]; export declare function transcriptCaptureEnabled(home: string, adapter: string, cwd: string): boolean; export declare function configureTranscriptWatcher(home: string, input: { adapter: TranscriptAdapter; workspace: string; root?: string; enabled: boolean; consent?: boolean; fromStart?: boolean; }): { lastError?: string; lastScan?: number; enabled: boolean; targets: TranscriptTarget[]; requiresAutomaticCapture: boolean; defaultFromStart: boolean; };