import { type Hex } from 'viem'; /** @notice Affine BN254 G1 point (null = point at infinity). */ export type G1 = { x: bigint; y: bigint; } | null; /** @notice Recover Y coordinate from X on BN254 curve (p+1)/4 exponentiation). */ export declare const findYFromX: (x: bigint) => bigint; /** @notice Compress affine point into 32-byte G1 encoding with sign bit. */ export declare const compressG1FromXY: (x: bigint, y: bigint) => Hex; /** @notice Parse uncompressed 64-byte G1 encoding into affine point. */ export declare const parseG1Uncompressed: (raw: Hex) => G1; /** @notice Add two G1 points (handles infinity). */ export declare const pointAdd: (a: G1, b: G1) => G1; /** @notice Sum many G1 keys into a single affine accumulator. */ export declare const aggregateG1: (keys: Hex[]) => G1; /** @notice Aggregate and compress many G1 keys, returning compressed bytes. */ export declare const compressAggregatedG1: (keys: Hex[]) => Hex; /** @notice Compress a raw (compressed or uncompressed) G1 key. */ export declare const compressRawG1: (raw: Hex) => Hex; /** @notice Compute Keccak256 of bytes, returning a hex string. */ export declare const keccak: (bytes: Uint8Array) => Hex; /** @notice Parse a compressed or uncompressed G1 key into an affine point. */ export declare const parseKeyToPoint: (raw: Hex) => G1; //# sourceMappingURL=bn254.d.ts.map