export default abstract class Base { static fromBytes(_buffer: number[]): any; /** * @description create a new instance of the class from a hex string */ static fromHex(this: { [P in keyof typeof Base]: typeof Base[P]; } & (new (...args: any[]) => T), privateKey: string): T; abstract toBytes(): number[]; /** * @description convert the class to a hex string */ toHex(): string; }