/** * EIP-1193 provider over the CDP capability core (`cdpAccount.ts`). * * This is the wallet boundary a wagmi connector consumes: `createConnector`'s * `getProvider()` returns exactly this shape, and viem builds its WalletClient * from it. A future `cdp-wagmi-rn` package lifts this module almost verbatim * into its connector — which is why it lives standalone rather than inside the * ethers signer. * * It routes the wallet-affecting JSON-RPC methods to the CDP core and forwards * everything else (reads) to an injected ethers provider. Smart-account sends * are exposed both as legacy `eth_sendTransaction` and as EIP-5792 * `wallet_sendCalls` (the idiomatic account-abstraction path wagmi prefers). */ import { ethers } from 'ethers'; import type { Eip1193Provider } from 'ethers'; import type { CdpWalletConfig } from './cdpConfig'; interface Params { smartAccount: string; readProvider: ethers.Provider; cfg: CdpWalletConfig; } export declare function createCdpEip1193Provider({ smartAccount, readProvider, cfg }: Params): Eip1193Provider; export {}; //# sourceMappingURL=cdpEip1193.d.ts.map