import { ResponseBase } from './types';
export declare const CLA = 90;
export declare const INS: {
    GET_VERSION: number;
    GET_PUB_KEY: number;
    SIGN_HASH: number;
    SIGN_TX: number;
    SIGN_TX_V1: number;
    DEPLOY_ACCOUNT: number;
    DEPLOY_ACCOUNT_V1: number;
};
export declare const CHUNK_SIZE = 250;
export declare const HASH_MAX_LENGTH = 63;
export declare enum LedgerError {
    NoError = 36864,
    BadCla = 28160,
    BadIns = 28161,
    InvalidP1P2 = 28162,
    UserRejected = 28164,
    ExecutionError = 28416
}
export declare const ERROR_DESCRIPTION: {
    36864: string;
    28160: string;
    28161: string;
    28162: string;
    28164: string;
    28416: string;
};
export declare function errorCodeToString(statusCode: LedgerError): string;
export declare function processErrorResponse(response?: any): ResponseBase;
