/** * @packageDocumentation * @module API-BridgeVM */ import LuxCore from "../../lux"; import { JRPCAPI } from "../../common/jrpcapi"; import { SignerSetInfo, RegisterValidatorParams, RegisterValidatorResponse, ReplaceSignerParams, ReplaceSignerResponse, HasSignerResponse, WaitlistEntry, SlashSignerParams, SlashSignerResponse, EpochInfo } from "./interfaces"; /** * Class for interacting with the B-Chain (Bridge Chain) BridgeVM API. * * @category RPCAPIs * * @remarks This extends the [[JRPCAPI]] class. This class should not be directly called. * Instead, use the [[Lux.addAPI]] function to register this interface with Lux. */ export declare class BridgeVMAPI extends JRPCAPI { /** * Register as a bridge signer (LP-333 opt-in model). */ registerValidator: (params: RegisterValidatorParams) => Promise; /** * Get current signer set info. */ getSignerSetInfo: () => Promise; /** * Remove failed signer and trigger reshare. */ replaceSigner: (params: ReplaceSignerParams) => Promise; /** * Check if node is in active signer set. */ hasSigner: () => Promise; /** * Get validators waiting for signer slots. */ getWaitlist: () => Promise; /** * Get current epoch. */ getCurrentEpoch: () => Promise; /** * Slash misbehaving bridge signer. */ slashSigner: (params: SlashSignerParams) => Promise; constructor(core: LuxCore, baseURL?: string); } //# sourceMappingURL=api.d.ts.map