export type DaemonLogLevel = "error" | "info" | "warning"; export interface DaemonLogOptions { now?: () => number; path: string; pid?: number; version?: string; write?: (path: string, line: string) => void; } export declare class DaemonLog { #private; readonly path: string; constructor(options: DaemonLogOptions); record(level: DaemonLogLevel, event: string, message: string, details?: Readonly>): void; }