///
import { Address } from '../address';
import { EthereumProvider } from '../providers/ethereum-provider';
import { PersonalRequestPayloads, Transaction } from './personal-request-payloads';
export declare class Personal {
private provider;
readonly request: PersonalRequestPayloads;
constructor(provider: EthereumProvider);
private send;
getAccounts(): Promise
;
newAccount(password: string): Promise;
unlockAccount(address: Address, password: string, duration: number): Promise;
lockAccount(address: Address): Promise;
importRawKey(privateKey: Buffer, password: string): Promise;
sendTransaction(tx: Transaction, password: string): Promise;
signTransaction(tx: Transaction, password: string): Promise;
sign(message: string, address: Address, password: string): Promise;
ecRecover(message: string, signedData: string): Promise;
}