import { HttpClient } from "@effect/platform"; import { Context, Effect, Layer } from "effect"; import type { Abi, Address, Hex } from "viem"; import type { SimulationError, SimulationResult, StateOverride, TenderlyApiError, TenderlyNotConfiguredError, TenderlyRateLimitError } from "../simulation/index.js"; type TenderlyErrors = SimulationError | TenderlyApiError | TenderlyNotConfiguredError | TenderlyRateLimitError; export type SimulationServiceShape = { readonly simulate: (params: { chainId: number; from: Address; to: Address; data?: Hex; value?: bigint; gas?: bigint; blockNumber?: bigint; stateOverrides?: StateOverride[]; }) => Effect.Effect; readonly simulateBundle: (params: { chainId: number; transactions: Array<{ from: Address; to: Address; data?: Hex; value?: bigint; }>; blockNumber?: bigint; }) => Effect.Effect; readonly getReadableSummary: (result: SimulationResult, abi?: Abi) => Effect.Effect; }; declare const SimulationService_base: Context.TagClass; export declare class SimulationService extends SimulationService_base { } export declare const SimulationServiceLive: Layer.Layer; export {}; //# sourceMappingURL=service.d.ts.map