import type { Hex, PublicKey } from './types.js'; /** * Parses a public key into x and y coordinates from the public key * defined on the credential. */ export declare function parseCredentialPublicKey(cPublicKey: ArrayBuffer): Promise; /** * Parses a serialized public key into x and y coordinates. */ export declare function parsePublicKey(publicKey: Hex | Uint8Array): PublicKey; export type SerializePublicKeyOptions = { compressed?: boolean | undefined; to?: to | 'bytes' | 'hex' | undefined; }; /** * Serializes a public key into a hex string or bytes. */ export declare function serializePublicKey(publicKey: PublicKey, options?: SerializePublicKeyOptions): to extends 'hex' ? Hex : Uint8Array; //# sourceMappingURL=publicKey.d.ts.map