import { pvmSerial } from "@avalabs/avalanchejs"; /** * Parses a L1ValidatorWeightMessage (AddressedCall payload) from a hex string. * * @param l1ValidatorWeightMessageHex - The hex string representing the L1ValidatorWeightMessage. * @returns The parsed L1ValidatorWeightMessage instance. {@link L1ValidatorWeightMessage} */ export declare function parseL1ValidatorWeightMessage(l1ValidatorWeightMessageHex: string): L1ValidatorWeightMessage; /** * Creates a new L1ValidatorWeightMessage from values. * * @param validationId - The validation ID (base58check encoded). * @param nonce - The nonce as a bigint. * @param weight - The weight of the validator as a bigint. * @returns A new L1ValidatorWeightMessage instance. {@link L1ValidatorWeightMessage} */ export declare function newL1ValidatorWeightMessage(validationId: string, nonce: bigint, weight: bigint): L1ValidatorWeightMessage; /** * L1ValidatorWeightMessage class provides utility methods to build * and parse L1ValidatorWeightMessage from hex strings or values, and * access its properties. */ export declare class L1ValidatorWeightMessage extends pvmSerial.warp.AddressedCallPayloads.L1ValidatorWeightMessage { static fromHex(l1ValidatorWeightMessageHex: string): L1ValidatorWeightMessage; static fromValues(validationId: string, nonce: bigint, weight: bigint): L1ValidatorWeightMessage; toHex(): string; /** * Do not use this method directly. */ static fromBytes(_bytes: never, _codec: never): [L1ValidatorWeightMessage, Uint8Array]; } //# sourceMappingURL=l1ValidatorWeightMessage.d.ts.map