import { Context, Effect, Layer } from "effect"; import type { Hash } from "viem"; import type { ClientNotFoundError, WalletNotConnectedError, WrongNetworkError } from "../core/index.js"; import { PublicClientService, TransactionFailedError, WalletClientService } from "../core/index.js"; import type { GasPriceUnavailableError } from "../gas/index.js"; import { GasService } from "../gas/index.js"; import type { TxPolicy } from "../tx/index.js"; export type TxReplacementShape = { readonly speedup: (chainId: number, hash: Hash, policy?: TxPolicy) => Effect.Effect; readonly cancel: (chainId: number, hash: Hash, policy?: TxPolicy) => Effect.Effect; }; declare const TxReplacement_base: Context.TagClass; export declare class TxReplacement extends TxReplacement_base { } export declare const TxReplacementLive: Layer.Layer; export {}; //# sourceMappingURL=replacement.d.ts.map