import { Result } from 'neverthrow';
export declare enum IErrorAll {
    IErrorInternal = 0,
    IErrorNetwork = 1
}
export declare enum IErrorNetwork {
    InternalServerError = "Internal Server Error",
    InvalidPassphrase = "Invalid passphrase",
    BlankPassphrase = "New passphrase cannot be blank",
    InvalidRequestBody = "Invalid request body",
    CannotParseAddress = "Cannot parse address",
    CannotAccessWallet = "Cannot access wallet",
    CannotAccessUserNode = "Cannot access user node",
    CannotAccessMempoolNode = "Cannot access mempool node",
    CannotAccessPeerUserNode = "Cannot access peer user node",
    CannotSaveAddressesToWallet = "Cannot save address to wallet",
    CannotFetchBalance = "Cannot fetch balance",
    NoDataFoundForKey = "No data found for key",
    InternalError = "Internal Error",
    Unauthorized = "Unauthorized",
    MethodNotFound = "Method not found",
    MethodNotAllowed = "Method not allowed",
    BadRequest = "Bad request"
}
export declare enum IErrorInternal {
    InsufficientFunds = "Insufficient funds",
    NoInputs = "No inputs for transaction",
    InvalidInputs = "Some inputs are invalid",
    UnableToGenerateDruid = "Unable to generate DRUID",
    UnableToConstructTxIns = "Unable to construct tx ins",
    UnableToConstructSignature = "Unable to construct signature",
    UnableToGetKeypairFromMap = "Unable to retrieve key-pair from map",
    InvalidAddressVersion = "Unable to determine address version",
    InvalidParametersProvided = "Invalid parameters provided",
    UnableToConstructOldAddress = "Unable to construct old address",
    UnableToConstructTempAddress = "Unable to construct temp address",
    UnableToConstructDefaultAddress = "Unable to construct default address",
    UnableToGenerateSeed = "Unable to generate seed",
    UnableToGetExistingSeed = "Unable to get existing seed phrase",
    UnableToGetExistingMasterKey = "Unable to get existing master key",
    UnableToGetPassphraseBuffer = "Unable to get passphrase buffer",
    UnableToGetKeypair = "Unable to get key-pair",
    UnableToGenerateMasterKey = "Unable to generate master key",
    UnableToGenerateKeypair = "Unable to generate key-pair",
    UnableToDeriveNextKeypair = "Unable to derive next key-pair",
    UnableToEncryptKeypair = "Unable to encrypt key-pair",
    UnableToSaveKeypairLocal = "Unable to save key-pair to local storage",
    UnableToGetLocalKeypair = "Unable to get key-pair from local storage",
    UnableToEncryptMasterKey = "Unable to encrypt master key",
    UnableToDecryptKeypair = "Unable to decrypt keypair",
    UnableToDecryptMasterKey = "Unable to decrypt master key",
    MasterKeyCorrupt = "Master key is corrupt",
    UnableToRegenAddresses = "Unable to regenerate addresses",
    UnableToEncryptTransaction = "Unable to encrypt transaction",
    UnableToDecryptTransaction = "Unable to decrypt transaction",
    InvalidSeedPhrase = "Invalid seed phrase",
    InvalidDRUIDProvided = "Invalid DRUID value provided",
    UnableToFilterValenceData = "Unable to filter valence data",
    ClientNotInitialized = "Client not initialized",
    StorageNotInitialized = "Storage host not initialized",
    ValenceNotInitialized = "Valence host not initialized",
    FetchBalanceResponseEmpty = "Balance object is empty",
    NoDRUIDValues = "DRUID values are null",
    AssetsIncompatible = "Assets are incompatible",
    KeyValuePairNotSingle = "Key-value pair does not only have one element",
    UnableToFindNonEmptyAddresses = "Unable to find addresses that contain assets",
    InvalidNetworkResponse = "Invalid network response",
    UnableToSignMessage = "Unable to sign message",
    UnableToVerifyMessage = "Unable to verify message",
    NoHostsProvided = "No hosts provided",
    NoKeypairsProvided = "No key-pairs provided",
    NoPassPhraseProvided = "No passphrase provided",
    NoComputeHostProvided = "No compute host provided",
    NoContentReturned = "No content returned",
    UnknownError = "Unknown Error"
}
export type IResult<T> = Result<T, IErrorInternal | string>;
