import type { WorkflowClient } from "../client/client.js"; import type { WorkflowSessionBinding, WorkflowSessionCapture, WorkflowSessionEventRecord } from "../workflows/types.js"; import type { SessionRecordingStore } from "./recorder.js"; type SessionCommandContext = { targetSessionId: string; coordinatorEpoch: string; }; /** Sends bounded session recording batches to the single workflow server writer. */ export declare class RemoteSessionRecordingStore implements SessionRecordingStore { private readonly client; private readonly context; constructor(client: WorkflowClient, context: () => SessionCommandContext); hasSessionBinding(runId: string): Promise; writeSessionBinding(runId: string, binding: WorkflowSessionBinding, attemptId?: string): Promise; writeSessionCapture(runId: string, capture: WorkflowSessionCapture, attemptId?: string): Promise; appendSessionEntry(runId: string, entry: Record, attemptId?: string): Promise; appendSessionEventBatch(runId: string, events: WorkflowSessionEventRecord[], attemptId?: string): Promise; sessionCounts(runId: string, attemptId?: string): Promise<{ eventCount: number; entryCount: number; lastEventSeq: number; }>; private request; } export {};