import { e as DurableClient, c as Clock, j as CreateExecutionRequest, k as CreateExecutionResponse, l as CheckoutRequest, m as CheckoutResponse, n as CheckpointRequest, o as CheckpointResponse, q as ReleaseRequest, r as ReleaseResponse, s as CallbackRequest, t as CallbackResponse, E as Execution, O as Operation } from '../context-KxOnV70t.cjs'; import 'zod'; /** * In-memory DurableClient implementation for testing. */ declare class MemoryClient implements DurableClient { readonly callbackBaseUrl = "memory://callbacks"; private executions; private operations; /** `inbox\0idempotency_key` -> execution id, for ensure-by-key creates. */ private ensured; private callbackIndex; private logging; private clock; private wireVersion; constructor(options?: { /** Clock used for wait auto-completion at checkout and for callback * expiry / completed_at. When using a mock clock in tests, pass the * same instance to runTick(). */ clock?: Clock; wireVersion?: number; }); setLogging(enabled: boolean): void; private log; create(req: CreateExecutionRequest): Promise; checkout(executionId: string, req?: CheckoutRequest): Promise; checkpoint(executionId: string, req: CheckpointRequest): Promise; release(executionId: string, req: ReleaseRequest): Promise; callback(token: string, req: CallbackRequest): Promise; getExecution(id: string): Execution | undefined; getOperations(executionId: string): Operation[]; deliverCallback(token: string, payload: unknown): Promise; } export { MemoryClient };