import { type Address, type ClientConfig, type JsonRpcAccount, type Transport, type Client as viem_Client } from 'viem'; import type * as Chains from '../core/Chains.js'; import type { Internal } from '../core/internal/porto.js'; import type * as Provider from '../core/internal/provider.js'; import type * as Account from './Account.js'; import type * as RpcSchema from './RpcSchema.js'; export type WalletClient = viem_Client : account, RpcSchema.Wallet>; /** * Extracts a Viem Client from a Porto instance. * * @param porto - Porto instance. * @returns Client. */ export declare function fromPorto(porto: { _internal: Internal; provider: Provider.Provider; }, config?: fromPorto.Config): WalletClient; export declare namespace fromPorto { type Config = Pick, 'account' | 'cacheTime' | 'chain' | 'key' | 'name' | 'pollingInterval'>; } //# sourceMappingURL=WalletClient.d.ts.map