///
import { Transport as LedgerTransport } from "@ledgerhq/hw-transport";
export declare class SXP implements LedgerTransport {
private transport;
/**
* Create an instance using a 'LedgerTransport' object.
*
* 'decorateAppAPIMethods' basically "locks" execution of the current instruction,
* preventing race conditions where parallel calls are attempted.
*
* @param {LedgerTransport} transport generic transport interface for Ledger HW.
*/
constructor(transport: LedgerTransport);
/**
* Get the installed Application version from a Ledger Device.
*
* @returns {Promise} installed application version (e.g. '2.0.1')
*/
getVersion(): Promise;
/**
* Get the PublicKey from a Ledger Device using a Bip44 path-string.
*
* @param {string} path bip44 path as a string
* @returns {Promise} device compressed publicKey
*/
getPublicKey(path: string): Promise;
/**
* Get the Extended PublicKey from a Ledger Device using a Bip44 path-string.
*
* Used to derive a 'hardened' account key (eg 44'/111'/0'").
* Hex result is a 33-byte compressed publicKey prepending a 32-byte chainCode.
*
* @param {string} path bip44 path as a string
* @returns {Promise} device extended publicKey & chaincode
*/
getExtPublicKey(path: string): Promise;
/**
* Sign a Message using a Ledger Device with Schnorr Signatures.
*
* @param {string} path bip44 path as a string
* @param {Buffer} message message payload
* @returns {Promise} payload schnorr signature
*/
signMessageWithSchnorr(path: string, message: Buffer): Promise;
/**
* Sign a Transaction using a Ledger Device with Schnorr Signatures.
*
* @param {string} path bip44 path as a string
* @param {Buffer} payload transaction bytes
* @returns {Promise} payload schnorr signature
*/
signTransactionWithSchnorr(path: string, payload: Buffer): Promise;
/**
* Check the formatting of a message.
*
* @param {Buffer} message message payload
* @throws {MessageAsciiError} if the message contains non-ascii characters
*/
private checkMessageFormat;
}