import type { Effect, Scope, SubscriptionRef } from "effect"; import { Context } from "effect"; import type { Abi, Hash } from "viem"; import type { ClientNotFoundError, TransactionFailedError, WalletNotConnectedError } from "../../core/index.js"; import type { GasPriceUnavailableError } from "../../gas/index.js"; import type { TxPolicy, TxState } from "../../tx/index.js"; import type { ContractFunctionName } from "../../types/index.js"; import type { WriteAndTrackError, WriteAndTrackParams, WriteAndTrackResult } from "./types.js"; export type ContractPipelineShape = { readonly writeAndTrack: >(params: WriteAndTrackParams) => Effect.Effect<{ stateRef: SubscriptionRef.SubscriptionRef; actions: { readonly speedup: (policy?: TxPolicy) => Effect.Effect; readonly cancel: (policy?: TxPolicy) => Effect.Effect; }; result: Effect.Effect, WriteAndTrackError>; }, never, Scope.Scope>; readonly writeAndWait: >(params: WriteAndTrackParams) => Effect.Effect, WriteAndTrackError>; }; declare const ContractPipeline_base: Context.TagClass; export declare class ContractPipeline extends ContractPipeline_base { } export {}; //# sourceMappingURL=service.d.ts.map