import { Context, Effect, Layer } from "effect"; import type { Address, Hash, TransactionReceipt } from "viem"; import type { ClientNotFoundError, WrongNetworkError } from "../core/index.js"; import { InsufficientFundsError, PublicClientService, ReceiptTimeoutError, TransactionFailedError, UserRejectedError, WalletClientService, WalletNotConnectedError } from "../core/index.js"; export type TransferOverrides = { readonly gas?: bigint; readonly gasPrice?: bigint; readonly maxFeePerGas?: bigint; readonly maxPriorityFeePerGas?: bigint; readonly nonce?: number; }; export type TransferServiceShape = { readonly send: (params: { chainId: number; to: Address; value: bigint; overrides?: TransferOverrides; }) => Effect.Effect; readonly sendAndWait: (params: { chainId: number; to: Address; value: bigint; confirmations?: number; overrides?: TransferOverrides; }) => Effect.Effect; readonly estimateGas: (params: { chainId: number; to: Address; value: bigint; }) => Effect.Effect; }; declare const TransferService_base: Context.TagClass; export declare class TransferService extends TransferService_base { } export declare const TransferServiceLive: Layer.Layer; export {}; //# sourceMappingURL=service.d.ts.map