export interface ReviewWorkLog { readonly path: string; readonly runId: string; record(type: string, details?: Readonly>): void; close(): void; } export declare class PiDeltaBatcher { private readonly emit; private highVolumeCount; private readonly batches; private timer; constructor(emit: (details: Readonly>) => void); accept(event: Readonly>): void; flush(): void; } export interface OpenReviewWorkLogOptions { readonly runId?: string; readonly now?: () => Date; readonly maxBytes?: number; readonly retainDefaultLogs?: boolean; readonly platform?: NodeJS.Platform; readonly fileOperations?: { readonly write?: (descriptor: number, buffer: Buffer, offset: number, length: number) => number; readonly sync: (descriptor: number) => void; readonly close: (descriptor: number) => void; }; } export type ValidateReviewWorkLogTarget = (target: string, controllerMutationPaths: readonly string[]) => Promise; export declare function buildWindowsProcessStartLookup(processId: number, environment?: NodeJS.ProcessEnv): Readonly<{ command: string; arguments: readonly string[]; environment: NodeJS.ProcessEnv; }>; export declare function windowsProcessInstanceIdentities(processId: number, environment?: NodeJS.ProcessEnv, runLookup?: (lookup: ReturnType) => Readonly<{ status: number | null; stdout: string; }>): readonly string[] | undefined; export declare function processInstanceIdentities(processId: number, platform: NodeJS.Platform): readonly string[] | undefined; export declare function currentProcessInstanceIdentities(platform: NodeJS.Platform): readonly string[] | undefined; export declare function classifyStaleActiveLeaseOwner(ownerIdentity: string, currentIdentities: readonly string[] | undefined): "protect" | "reclaim" | "revalidate"; export declare function reviewWorkLogDirectory(environment?: NodeJS.ProcessEnv, platform?: NodeJS.Platform, home?: string): string; export declare function prepareValidatedDefaultReviewWorkLogPath(validateTarget: ValidateReviewWorkLogTarget, environment?: NodeJS.ProcessEnv, platform?: NodeJS.Platform, home?: string, now?: Date, id?: string): Promise; export declare function prepareDefaultReviewWorkLogPath(environment?: NodeJS.ProcessEnv, platform?: NodeJS.Platform, home?: string, now?: Date, id?: string): Promise; export declare function sanitizeWorkLogDiagnostic(value: string, secrets?: readonly string[]): string; export declare function summarizePiEvent(event: unknown, _secrets?: readonly string[]): Readonly>; export declare function openReviewWorkLog(target: string, options?: OpenReviewWorkLogOptions): Promise; //# sourceMappingURL=work-log.d.ts.map