/** * A public key. Accepts both compressed and uncompressed formats (hex or bytes). * * @example * ```ts * const pk = new PublicKey('02deadbeef...'); * console.log(pk.hex); * ``` */ export declare class PublicKey { private readonly _data; /** * @param source - Hex string or `Uint8Array`. * @throws {@link InvalidPublicKeyError} if invalid. */ constructor(source: string | Uint8Array); /** The compressed public key as raw bytes. */ get raw(): Uint8Array; /** The compressed public key as hex. */ get hex(): string; }