/**
 * Elliptic curves constants
 *
 * @param {Curve} curve
 */
export function getConstantsForCurve(curve: Curve): {
    prime: bigint;
    b: bigint;
    pIdent: bigint;
};
/**
 * @param {Uint8Array} key
 */
export function isCompressed(key: Uint8Array): boolean;
/**
 * @param {Uint8Array} key
 */
export function isUncompressed(key: Uint8Array): boolean;
/**
 * Elliptic Curve point compression
 *
 * @param { Uint8Array } pubkeyBytes
 */
export function compress(pubkeyBytes: Uint8Array): Uint8Array<ArrayBuffer>;
/**
 * Elliptic Curve point decompression
 *
 * @param {Uint8Array} comp - Compressed public key. 1st byte: 0x02 for even or 0x03 for odd. Following curve size n bytes: x coordinate expressed as big-endian.
 * @param {Curve} curve
 */
export function decompress(comp: Uint8Array, curve?: Curve): Uint8Array<ArrayBuffer>;
/**
 * secp256k1 decompression
 *
 * @param {Uint8Array} compressed
 */
export function decompressSecp256k1(compressed: Uint8Array): Uint8Array<ArrayBuffer>;
export type Curve = "P-256" | "P-384" | "P-521";
//# sourceMappingURL=ec-compression.d.ts.map