import GroupElement from '../group_element'; import KeyBase from './base'; import PrivateKey from './private'; /** * Base implementation for keeping EC Public Key as an object */ export default class PublicKey extends KeyBase { private readonly pubKey; constructor(pubKey: GroupElement); /** * Getting point from this public key * @return */ valueOf(): GroupElement; static fromBytes(buffer: number[]): PublicKey; toBytes(): number[]; static fromPrivateKey(key: PrivateKey): PublicKey; }