import type { OpRecord } from './record.ts'; export declare const EVENT_OP = "op"; export declare const EVENT_COMMAND = "command"; export declare const EVENT_CLEAR = "clear"; export declare const EVENT_DELETE = "delete"; export declare const STDOUT_TRUNCATE = 4096; export type EventType = 'op' | 'command' | 'clear' | 'delete'; export interface LogEntryInit { type: EventType; agent: string; session: string; timestamp: number; cwd?: string; op?: string; path?: string; source?: string; bytes?: number; durationMs?: number; command?: string; exitCode?: number; stdout?: string; offset?: number; } export declare class LogEntry { readonly type: EventType; readonly agent: string; readonly session: string; readonly timestamp: number; readonly cwd: string | undefined; readonly op: string | undefined; readonly path: string | undefined; readonly source: string | undefined; readonly bytes: number | undefined; readonly durationMs: number | undefined; readonly command: string | undefined; readonly exitCode: number | undefined; readonly stdout: string | undefined; readonly offset: number | undefined; constructor(init: LogEntryInit); static fromOpRecord(rec: OpRecord, agent: string, session: string, cwd?: string): LogEntry; toJsonLine(): string; } //# sourceMappingURL=log_entry.d.ts.map