export interface PythonTranscriptRecord { timestamp: string; code: string; output: string; exitCode: number | null; cancelled: boolean; truncated: boolean; } export interface PythonKernelTranscript { readonly dir: string; readonly kernelInstanceId: string; append(record: PythonTranscriptRecord): Promise; } export declare function openPythonKernelTranscript(input: { cwd: string; sessionId: string; kernelInstanceId: string; now?: Date; }): PythonKernelTranscript;