import type { Scope, SubscriptionRef } from "effect"; import { Context, Effect, Layer } from "effect"; import type { Hash } from "viem"; import type { ClientNotFoundError } from "../../../core/index.js"; import { TxStore } from "../../../platform/browser/tx-store/index.js"; import type { TxRequestMeta, TxState } from "../../../tx/index.js"; import { TxManager } from "../../../tx/index.js"; export type TxPersistenceMeta = { readonly description?: string; readonly tags?: string[]; readonly txRequest?: TxRequestMeta; }; export type TxPersistenceShape = { readonly trackAndPersist: (chainId: number, hash: Hash, meta?: TxPersistenceMeta) => Effect.Effect, ClientNotFoundError, Scope.Scope>; }; declare const TxPersistence_base: Context.TagClass; export declare class TxPersistence extends TxPersistence_base { } export declare const TxPersistenceLive: Layer.Layer; export declare const TxPersistenceWithRehydrationLive: Layer.Layer; export {}; //# sourceMappingURL=persistence.d.ts.map