import type { Context } from "effect"; import { Effect, Either, Exit, Layer } from "effect"; import { ClientNotFoundError, WalletNotConnectedError } from "../core/index.js"; export declare const expectTaggedFailure: (exit: Exit.Exit, expectedTag: E["_tag"]) => void; export declare const assertLeft: (either: Either.Either) => L; export declare const assertRight: (either: Either.Either) => R; export declare const makeChainIdGetter: (supportedChainId: number, getValue: () => A) => (chainId: number) => Effect.Effect | Effect.Effect; export declare const withChainCheck:

(supportedChainId: number, errorFactory: (chainId: number, message: string) => Err, fn: (params: P) => Effect.Effect) => ((params: P) => Effect.Effect); export declare const withChainIdCheck:

(supportedChainId: number, fn: (params: P) => Effect.Effect) => ((params: P) => Effect.Effect); export declare const makeWalletChainIdGetter: (supportedChainId: number, getValue: () => A) => (chainId: number) => Effect.Effect | Effect.Effect; export declare const withWalletChainIdCheck:

(supportedChainId: number, fn: (params: P) => Effect.Effect) => ((params: P) => Effect.Effect); export declare const makeMockServiceLayer: >(ServiceTag: Context.Tag, defaults: C, config: Partial, mapToShape: (merged: C) => S) => Layer.Layer; //# sourceMappingURL=helpers.d.ts.map