import type { Scope, SubscriptionRef } from "effect"; import { Context, Effect, Layer } from "effect"; import type { Hash, TransactionReceipt } from "viem"; import type { ClientNotFoundError } from "../core/index.js"; import { PublicClientService, ReceiptTimeoutError, TransactionFailedError, TransactionReplacedError, TransportError } from "../core/index.js"; import type { TxPolicy } from "./policy.js"; import { TxReplacement } from "./replacement.js"; import type { TxState } from "./tracker.js"; export type TxManagerShape = { readonly track: (chainId: number, hash: Hash, policy?: TxPolicy) => Effect.Effect, ClientNotFoundError, Scope.Scope>; readonly waitForReceipt: (chainId: number, hash: Hash, timeoutOrPolicy?: number | TxPolicy) => Effect.Effect; readonly getConfirmations: (chainId: number, params: { hash: Hash; } | { transactionReceipt: TransactionReceipt; }) => Effect.Effect; }; declare const TxManager_base: Context.TagClass; export declare class TxManager extends TxManager_base { } export declare const TxManagerLive: Layer.Layer; export {}; //# sourceMappingURL=manager.d.ts.map