import { EngineError, EngineParams, Values } from "@connext/vector-types"; export declare class DisputeError extends EngineError { readonly message: Values; static readonly type = "DisputeError"; static readonly reasons: { readonly ChannelDefundTxFailed: "Failed to send defund channel tx"; readonly ChannelDisputeTxFailed: "Failed to send dispute channel tx"; readonly ChannelNotInDispute: "Channel is not in dispute"; readonly ChannelNotFound: "Channel not found"; readonly CouldNotGetActiveTransfers: "Failed to retrieve active transfers from store"; readonly CouldNotGetChannel: "Failed to retrieve channel from store"; readonly CouldNotGetTransfer: "Failed to retrieve transfer from store"; readonly TransferNotFound: "Transfer not found"; readonly TransferNotDisputed: "Transfer not in dispute"; readonly TransferDefundTxFailed: "Failed to send defund transfer tx"; readonly TransferDisputeTxFailed: "Failed to send dispute transfer tx"; readonly Unknown: "Unknown dispute error"; }; constructor(message: Values, channelAddress: string, publicIdentifier: string, context?: any); } export declare class CheckInError extends EngineError { readonly message: Values; static readonly type = "CheckInError"; static readonly reasons: { readonly ChannelNotFound: "Channel not found"; readonly Unknown: "Unknown check-in error"; }; constructor(message: Values, channelAddress: string, publicIdentifier: string, context?: any); } export declare class RestoreError extends EngineError { readonly message: Values; static readonly type = "RestoreError"; static readonly reasons: { readonly AckFailed: "Could not send restore ack"; readonly AcquireLockError: "Failed to acquire restore lock"; readonly ChannelNotFound: "Channel not found"; readonly CouldNotGetActiveTransfers: "Failed to retrieve active transfers from store"; readonly CouldNotGetChannel: "Failed to retrieve channel from store"; readonly GetChannelAddressFailed: "Failed to calculate channel address for verification"; readonly InvalidChannelAddress: "Failed to verify channel address"; readonly InvalidMerkleRoot: "Failed to validate merkleRoot for restoration"; readonly InvalidSignatures: "Failed to validate sigs on latestUpdate"; readonly NoData: "No data sent from counterparty to restore"; readonly ReceivedError: "Got restore error from counterparty"; readonly ReleaseLockError: "Failed to release restore lock"; readonly SaveChannelFailed: "Failed to save channel state"; readonly SyncableState: "Cannot restore, state is syncable. Try reconcileDeposit"; }; constructor(message: Values, channelAddress: string, publicIdentifier: string, context?: any); } export declare class IsAliveError extends EngineError { readonly message: Values; static readonly type = "IsAliveError"; static readonly reasons: { readonly ChannelNotFound: "Channel not found"; readonly Unknown: "Unknown isAlive error"; }; constructor(message: Values, channelAddress: string, publicIdentifier: string, context?: any); } export declare class ParameterConversionError extends EngineError { readonly message: Values; static readonly type = "ParameterConversionError"; static readonly reasons: { readonly BobDoesntSubmitAlice: "Bob cannot submit Alice's withdrawals"; readonly CannotSendToSelf: "An initiator cannot be a receiver on the same chain"; readonly CouldNotGetQuote: "Failed to get quote"; readonly CouldNotSignWithdrawal: "Failed to sign withdrawal commitment"; readonly FailedToGetRegisteredTransfer: "Could not get transfer registry information"; readonly FeeGreaterThanAmount: "Fees charged are greater than amount"; readonly NoOp: "Cannot create withdrawal with 0 amount and no call"; readonly WithdrawToZero: "Cannot withdraw to AddressZero"; }; constructor(message: Values, channelAddress: string, publicIdentifier: string, context?: any); } export declare class RpcError extends EngineError { readonly message: Values; static readonly type = "RpcError"; static readonly reasons: { readonly ChainServiceFailure: "Failed to execute chain service method"; readonly ChannelNotFound: "Channel not found"; readonly DecryptFailed: "Failed to decrypt"; readonly EngineMethodFailure: "Failed to execute engine method"; readonly InvalidParams: "Parameters from rpc request are malformed"; readonly InvalidRpcSchema: "Rpc request is malformed"; readonly InvalidMethod: "Rpc method is invalid"; readonly ParamConversionFailed: "Failed to convert engine "; readonly ProtocolMethodFailed: "Failed to execute protocol method"; readonly SignerNotInChannel: "Signer is not in channel"; readonly StoreMethodFailed: "Failed to execute store method"; readonly TransferNotFound: "Transfer not found"; readonly SigningFailed: "Failed to sign message"; readonly UtilitySigningFailed: "Failed to sign utility message"; readonly WithdrawResolutionFailed: "Withdrawal commitment not found post-create"; readonly TransactionFound: "Withdrawal transaction found"; readonly CommitmentSingleSigned: "Withdrawal commitment single-signed"; }; constructor(message: Values, channelAddress: string, publicIdentifier: string, context?: any); } export declare class WithdrawQuoteError extends EngineError { readonly message: Values; static readonly type = "WithdrawQuoteError"; static readonly reasons: { readonly ChannelNotFound: "Channel not found"; readonly ChainServiceFailure: "Chain service method failed"; readonly ExchangeRateError: "Calculating exchange failed"; readonly SignatureFailure: "Signing quote failed"; }; constructor(message: Values, publicIdentifier: string, request: EngineParams.GetWithdrawalQuote, context?: any); } //# sourceMappingURL=errors.d.ts.map