import type { Network, SignOnlySigner, SignedTx, Signer, UnsignedTransaction } from '@wormhole-foundation/sdk-connect'; import { PlatformNativeSigner } from '@wormhole-foundation/sdk-connect'; import type { Signer as EthersSigner, Provider, TransactionRequest } from 'ethers'; import type { EvmChains } from './types.js'; export type EvmSignerOptions = { debug?: boolean; gasLimit?: bigint; maxGasLimit?: bigint; overrides?: Partial; }; export declare function getEvmSigner(rpc: Provider, key: string | EthersSigner, opts?: EvmSignerOptions & { chain?: EvmChains; }): Promise; export declare function getEvmSignerForKey(rpc: Provider, privateKey: string): Promise; export declare function getEvmSignerForSigner(signer: EthersSigner): Promise; export declare class EvmNativeSigner extends PlatformNativeSigner implements SignOnlySigner { readonly opts?: EvmSignerOptions | undefined; constructor(_chain: C, _address: string, _signer: EthersSigner, opts?: EvmSignerOptions | undefined); chain(): C; address(): string; sign(tx: UnsignedTransaction[]): Promise; } export declare function isEvmNativeSigner(signer: Signer): signer is EvmNativeSigner; //# sourceMappingURL=signer.d.ts.map