import { Context, Effect, Layer } from "effect"; import type { TxStoreError } from "./errors.js"; import type { PersistedTx } from "./types.js"; export type TxStoreShape = { readonly getAll: () => Effect.Effect; readonly get: (id: string) => Effect.Effect; readonly upsert: (tx: PersistedTx) => Effect.Effect; readonly delete: (id: string) => Effect.Effect; readonly getInFlight: () => Effect.Effect; }; declare const TxStore_base: Context.TagClass; export declare class TxStore extends TxStore_base { } export declare const InMemoryTxStoreLive: Layer.Layer; export {}; //# sourceMappingURL=store.d.ts.map