import type { BridgeTarget, CommandOp } from './contracts.js'; declare const ACTION_RECORD_VERSION: 1; export interface ActionRecord { v: typeof ACTION_RECORD_VERSION; ts: string; cmdId: string; op: CommandOp; target: BridgeTarget; ok: boolean; durationMs?: number; principal: string; exprHash?: string; expr?: string; errorName?: string; } export interface ActionsSink { write(record: ActionRecord): void; } interface ActionsFileOwner { runId: string; logsFilePath: string; } interface ActionsFileOptions { filePath: string; owner?: ActionsFileOwner; maxBytes?: number; maxLines?: number; generations?: number; } export declare class ActionsFileWriter implements ActionsSink { private readonly opts; private readonly owner?; private bytes; private lines; private started; constructor(options: ActionsFileOptions); start(): void; write(record: ActionRecord): void; close(): void; private isSuperseded; private rotatedName; private rotate; } export declare function fnv1aHex(input: string): string; export {};