import { IAccount, ICryptoBytes, IPrivateKey, IWallet, IWalletConfig } from '@interchainjs/types'; import * as nacl from 'tweetnacl'; import { PublicKey } from './types/solana-types'; export declare class Keypair implements IWallet { private readonly _keypair; private readonly _config; private readonly _privateKeys; private readonly _accounts; private readonly _publicKey; constructor(keypair?: nacl.SignKeyPair, config?: Partial); static generate(config?: Partial): Keypair; static fromSecretKey(secretKey: Uint8Array, config?: Partial): Keypair; static fromSeed(seed: Uint8Array, config?: Partial): Keypair; static fromBase58(base58PrivateKey: string, config?: Partial): Keypair; get publicKey(): PublicKey; get secretKey(): Uint8Array; get privateKeys(): IPrivateKey[]; get config(): IWalletConfig; getAccounts(): Promise; getAccountByIndex(index: number): Promise; signByIndex(data: Uint8Array, index?: number): Promise; sign(message: Uint8Array): Uint8Array; verify(message: Uint8Array, signature: Uint8Array | ICryptoBytes): boolean; }