import { MinimalTransaction } from "./chain"; import { FullTransferState, FullChannelState, ChainAddresses } from "./channel"; import { ChannelDispute, TransferDispute } from "./dispute"; import { VectorErrorJson } from "./error"; import { ChainProviders } from "./network"; import { EngineParams, NodeResponses } from "./schemas"; import { RegisteredTransfer } from "./transferDefinitions"; export declare const ChannelRpcMethods: { readonly chan_signUtilityMessage: "chan_signUtilityMessage"; readonly chan_getConfig: "chan_getConfig"; readonly chan_getRouterConfig: "chan_getRouterConfig"; readonly chan_getTransferQuote: "chan_getTransferQuote"; readonly chan_getWithdrawalQuote: "chan_getWithdrawalQuote"; readonly chan_getStatus: "chan_getStatus"; readonly chan_getChannelState: "chan_getChannelState"; readonly chan_getChannelStateByParticipants: "chan_getChannelStateByParticipants"; readonly chan_getChannelStates: "chan_getChannelStates"; readonly chan_getTransferStateByRoutingId: "chan_getTransferStateByRoutingId"; readonly chan_getTransferStatesByRoutingId: "chan_getTransferStatesByRoutingId"; readonly chan_getActiveTransfers: "chan_getActiveTransfers"; readonly chan_getRegisteredTransfers: "chan_getRegisteredTransfers"; readonly chan_getTransferState: "chan_getTransferState"; readonly chan_getTransfers: "chan_getTransfers"; readonly chan_getWithdrawalCommitment: "chan_getWithdrawalCommitment"; readonly chan_getWithdrawalCommitmentByTransactionHash: "chan_getWithdrawalCommitmentByTransactionHash"; readonly chan_setup: "chan_setup"; readonly chan_sendIsAlive: "chan_sendIsAlive"; readonly chan_requestSetup: "chan_requestSetup"; readonly chan_deposit: "chan_deposit"; readonly chan_requestCollateral: "chan_requestCollateral"; readonly chan_createTransfer: "chan_createTransfer"; readonly chan_resolveTransfer: "chan_resolveTransfer"; readonly chan_restoreState: "chan_restoreState"; readonly chan_withdraw: "chan_withdraw"; readonly chan_withdrawRetry: "chan_withdrawRetry"; readonly chan_addTransactionToCommitment: "chan_addTransactionToCommitment"; readonly chan_subscribe: "chan_subscribe"; readonly chan_unsubscribeAll: "chan_unsubscribeAll"; readonly connext_authenticate: "connext_authenticate"; readonly chan_dispute: "chan_dispute"; readonly chan_defund: "chan_defund"; readonly chan_getDispute: "chan_getDispute"; readonly chan_disputeTransfer: "chan_disputeTransfer"; readonly chan_defundTransfer: "chan_defundTransfer"; readonly chan_getTransferDispute: "chan_getTransferDispute"; readonly chan_exit: "chan_exit"; readonly chan_syncDisputes: "chan_syncDisputes"; readonly chan_decrypt: "chan_decrypt"; readonly chan_subscription: "chan_subscription"; }; export declare type ChannelRpcMethod = typeof ChannelRpcMethods[keyof typeof ChannelRpcMethods]; export declare type ChannelRpcMethodsPayloadMap = { [ChannelRpcMethods.chan_signUtilityMessage]: EngineParams.SignUtilityMessage; [ChannelRpcMethods.chan_getConfig]: {}; [ChannelRpcMethods.chan_getRouterConfig]: EngineParams.GetRouterConfig; [ChannelRpcMethods.chan_getStatus]: {}; [ChannelRpcMethods.chan_getWithdrawalQuote]: EngineParams.GetWithdrawalQuote; [ChannelRpcMethods.chan_getTransferQuote]: EngineParams.GetTransferQuote; [ChannelRpcMethods.chan_sendIsAlive]: EngineParams.SendIsAlive; [ChannelRpcMethods.chan_getChannelState]: EngineParams.GetChannelState; [ChannelRpcMethods.chan_getChannelStateByParticipants]: EngineParams.GetChannelStateByParticipants; [ChannelRpcMethods.chan_getTransferStateByRoutingId]: EngineParams.GetTransferStateByRoutingId; [ChannelRpcMethods.chan_getTransferStatesByRoutingId]: EngineParams.GetTransferStatesByRoutingId; [ChannelRpcMethods.chan_getActiveTransfers]: EngineParams.GetActiveTransfers; [ChannelRpcMethods.chan_getTransferState]: EngineParams.GetTransferState; [ChannelRpcMethods.chan_getTransfers]: EngineParams.GetTransfers; [ChannelRpcMethods.chan_getRegisteredTransfers]: EngineParams.GetRegisteredTransfers; [ChannelRpcMethods.chan_getChannelStates]: {}; [ChannelRpcMethods.chan_getWithdrawalCommitment]: EngineParams.GetWithdrawalCommitment; [ChannelRpcMethods.chan_getWithdrawalCommitmentByTransactionHash]: EngineParams.GetWithdrawalCommitmentByTransactionHash; [ChannelRpcMethods.chan_setup]: EngineParams.Setup; [ChannelRpcMethods.chan_requestSetup]: EngineParams.Setup; [ChannelRpcMethods.chan_deposit]: EngineParams.Deposit; [ChannelRpcMethods.chan_requestCollateral]: EngineParams.Deposit; [ChannelRpcMethods.chan_createTransfer]: EngineParams.ConditionalTransfer; [ChannelRpcMethods.chan_resolveTransfer]: EngineParams.ResolveTransfer; [ChannelRpcMethods.chan_restoreState]: EngineParams.RestoreState; [ChannelRpcMethods.chan_withdraw]: EngineParams.Withdraw; [ChannelRpcMethods.chan_withdrawRetry]: EngineParams.WithdrawRetry; [ChannelRpcMethods.chan_addTransactionToCommitment]: EngineParams.AddTransactionToCommitment; [ChannelRpcMethods.chan_subscribe]: { event: string; once: boolean; }; [ChannelRpcMethods.chan_unsubscribeAll]: {}; [ChannelRpcMethods.connext_authenticate]: { signature?: string; signer?: string; chainProviders: ChainProviders; chainAddresses?: ChainAddresses; messagingUrl?: string; natsUrl?: string; authUrl?: string; }; [ChannelRpcMethods.chan_dispute]: EngineParams.DisputeChannel; [ChannelRpcMethods.chan_defund]: EngineParams.DefundChannel; [ChannelRpcMethods.chan_getDispute]: EngineParams.GetChannelDispute; [ChannelRpcMethods.chan_disputeTransfer]: EngineParams.DisputeTransfer; [ChannelRpcMethods.chan_defundTransfer]: EngineParams.DefundTransfer; [ChannelRpcMethods.chan_getTransferDispute]: EngineParams.GetTransferDispute; [ChannelRpcMethods.chan_exit]: EngineParams.ExitChannel; [ChannelRpcMethods.chan_syncDisputes]: {}; [ChannelRpcMethods.chan_decrypt]: string; [ChannelRpcMethods.chan_subscription]: { subscription: string; data: any; }; }; export declare type ChannelRpcMethodsResponsesMap = { [ChannelRpcMethods.chan_signUtilityMessage]: string; [ChannelRpcMethods.chan_getConfig]: NodeResponses.GetConfig; [ChannelRpcMethods.chan_getRouterConfig]: NodeResponses.GetRouterConfig; [ChannelRpcMethods.chan_getTransferQuote]: NodeResponses.TransferQuote; [ChannelRpcMethods.chan_getWithdrawalQuote]: NodeResponses.WithdrawalQuote; [ChannelRpcMethods.chan_getStatus]: NodeResponses.GetStatus; [ChannelRpcMethods.chan_sendIsAlive]: NodeResponses.SendIsAlive; [ChannelRpcMethods.chan_getChannelState]: FullChannelState | undefined; [ChannelRpcMethods.chan_getChannelStateByParticipants]: FullChannelState | undefined; [ChannelRpcMethods.chan_getChannelStates]: FullChannelState[]; [ChannelRpcMethods.chan_getTransferStateByRoutingId]: FullTransferState | undefined; [ChannelRpcMethods.chan_getTransferStatesByRoutingId]: FullTransferState[]; [ChannelRpcMethods.chan_getActiveTransfers]: FullTransferState[]; [ChannelRpcMethods.chan_getTransfers]: FullTransferState[]; [ChannelRpcMethods.chan_getTransferState]: FullTransferState | undefined; [ChannelRpcMethods.chan_getRegisteredTransfers]: RegisteredTransfer[]; [ChannelRpcMethods.chan_getWithdrawalCommitment]: NodeResponses.GetWithdrawalCommitment; [ChannelRpcMethods.chan_getWithdrawalCommitmentByTransactionHash]: NodeResponses.GetWithdrawalCommitmentByTransactionHash; [ChannelRpcMethods.chan_setup]: FullChannelState; [ChannelRpcMethods.chan_requestSetup]: FullChannelState; [ChannelRpcMethods.chan_deposit]: FullChannelState; [ChannelRpcMethods.chan_requestCollateral]: FullChannelState; [ChannelRpcMethods.chan_createTransfer]: FullChannelState; [ChannelRpcMethods.chan_resolveTransfer]: FullChannelState; [ChannelRpcMethods.chan_restoreState]: FullChannelState; [ChannelRpcMethods.chan_withdraw]: { channel: FullChannelState; transactionHash?: string; transaction: MinimalTransaction; }; [ChannelRpcMethods.chan_withdrawRetry]: NodeResponses.WithdrawRetry; [ChannelRpcMethods.chan_addTransactionToCommitment]: any; [ChannelRpcMethods.chan_subscribe]: any; [ChannelRpcMethods.chan_unsubscribeAll]: any; [ChannelRpcMethods.connext_authenticate]: { publicIdentifier: string; signerAddress: string; }; [ChannelRpcMethods.chan_dispute]: { transactionHash: string; }; [ChannelRpcMethods.chan_defund]: { transactionHash: string; }; [ChannelRpcMethods.chan_getDispute]: ChannelDispute | undefined; [ChannelRpcMethods.chan_disputeTransfer]: { transactionHash: string; }; [ChannelRpcMethods.chan_defundTransfer]: { transactionHash: string; }; [ChannelRpcMethods.chan_getTransferDispute]: TransferDispute | undefined; [ChannelRpcMethods.chan_exit]: { assetId: string; transactionHash?: string; error?: VectorErrorJson; }[]; [ChannelRpcMethods.chan_syncDisputes]: any; [ChannelRpcMethods.chan_decrypt]: string; [ChannelRpcMethods.chan_subscription]: any; }; //# sourceMappingURL=vectorProvider.d.ts.map