///
import { starcoin_types } from '@starcoin/starcoin';
import { AddressValidation, SignedTx, TypedMessage, UnsignedTx } from '../../../types/provider';
import { Signer, Verifier } from '../../../types/secret';
import { BaseProvider } from '../../abc';
import { StcClient } from './starcoin';
declare class Provider extends BaseProvider {
get starcoin(): Promise;
buildUnsignedTx(unsignedTx: UnsignedTx): Promise;
pubkeyToAddress(verifier: Verifier, encoding?: string): Promise;
signTransaction(unsignedTx: UnsignedTx, signers: {
[p: string]: Signer;
}): Promise;
verifyAddress(address: string): Promise;
signMessage({ type, message: messageHex }: TypedMessage, signer: Signer, address?: string): Promise;
verifyMessage(publicKey: string, // require pubkey here!!
{ message }: TypedMessage, signature: string): Promise;
hardwareGetXpubs(paths: string[], showOnDevice: boolean): Promise<{
path: string;
xpub: string;
}[]>;
hardwareGetAddress(path: string, showOnDevice: boolean, addressToVerify?: string): Promise;
hardwareSignTransaction(unsignedTx: UnsignedTx, signers: Record): Promise;
hardwareSignMessage({ message }: TypedMessage, signer: string): Promise;
hardwareVerifyMessage(publicKey: string, // require pubkey here!!
{ message }: TypedMessage, signature: string): Promise;
}
export declare const buildUnsignedRawTx: (unsignedTx: UnsignedTx, chainId: string) => [starcoin_types.RawUserTransaction, Uint8Array];
export declare const buildSignedTx: (senderPublicKey: string, rawSignature: Buffer, rawTxn: starcoin_types.RawUserTransaction) => {
txid: string;
rawTx: string;
};
export { Provider };