import { UnknownError } from '@livestore/common'; import type { CfTypes } from '@livestore/common-cf'; import { EventSequenceNumber } from '@livestore/common/schema'; import { Effect } from '@livestore/utils/effect'; import type { Env, MakeDurableObjectClassOptions, RpcSubscription } from '../shared.ts'; export interface DoCtxInput { doSelf: CfTypes.DurableObject & { ctx: CfTypes.DurableObjectState; env: Env; }; doOptions: MakeDurableObjectClassOptions | undefined; from: CfTypes.Request | { storeId: string; }; } declare const DoCtx_base: Effect.Service.Class Effect.Effect<{ storeId: string; backendId: string; currentHeadRef: { current: number & import("effect/Brand").Brand<"GlobalEventSequenceNumber">; }; updateCurrentHead: (currentHead: EventSequenceNumber.Global.Type) => void; storage: import("./sync-storage.ts").SyncStorage; doOptions: MakeDurableObjectClassOptions | undefined; env: Env; ctx: CfTypes.DurableObjectState; rpcSubscriptions: Map; }, UnknownError, never>; }>; export declare class DoCtx extends DoCtx_base { } export {}; //# sourceMappingURL=layer.d.ts.map