import { type SessionStore } from '../../session/SessionStore.js'; import type { RunState, StepRecord, RunFilter, RunRef } from './types.js'; import { type DeleteRunOptions, type RunStore, type StepFinalizePatch } from './RunStore.js'; export declare class SessionRunStore implements RunStore { private readonly sessionStore; private readonly sessionId; private static readonly CAS_RETRIES; constructor(sessionStore: SessionStore, sessionId: string); private mutateSession; appendStep(runId: string, record: StepRecord): Promise; finalizeStep(runId: string, key: string, patch: StepFinalizePatch): Promise; reserveSteps(runId: string, count: number): Promise; getSteps(runId: string): Promise; getRunState(runId: string): Promise; putRunState(state: RunState): Promise; initRun(state: RunState): Promise; pruneStepsBeforeEpoch(runId: string, keepEpoch: number): Promise; listRuns(filter: RunFilter): AsyncIterable; deleteRun(runId: string, options?: DeleteRunOptions): Promise; private findRunSession; private requireSession; }