export type TrustedSetup = { g1_monomial: string; g1_lagrange: string; g2_monomial: string; }; export type KZGProofWithCells = { proofs: string[]; cells: string[]; }; /** * Initialization function that instantiates WASM code and returns an object matching the `KZG` interface exposed by `@ethereumjs/util` * * @param trustedSetup Optional trusted setup, otherwise official KZG setup from the KZG ceremony is used * * @returns object - the KZG methods required for all 4844 related operations */ export declare const loadKZG: (precompute?: number, trustedSetup?: TrustedSetup) => Promise<{ loadTrustedSetup: (precompute?: number, trustedSetup?: TrustedSetup) => number; freeTrustedSetup: () => void; blobToKZGCommitment: (blob: string) => string; computeBlobKZGProof: (blob: string, commitment: string) => string; verifyBlobKZGProofBatch: (blobs: string[], commitments: string[], proofs: string[]) => boolean; verifyKZGProof: (commitment: string, z: string, y: string, proof: string) => boolean; verifyBlobKZGProof: (blob: string, commitment: string, proof: string) => boolean; computeCellsAndKZGProofs: (blob: string) => KZGProofWithCells; recoverCellsFromKZGProofs: (cellIndices: number[], partial_cells: string[], numCells: number) => KZGProofWithCells; verifyCellKZGProof: (commitment: string, cells: string[], proofs: string[]) => boolean; verifyCellKZGProofBatch: (commitments: string[], cellIndices: number[], cells: string[], proofs: string[], numCells: number) => boolean; verifyCellKzgProofBatch: (commitments: string[], cellIndices: number[], cells: string[], proofs: string[]) => boolean; recoverCellsAndProofs: (indices: number[], cells: string[]) => [string[], string[]]; computeCells: (blob: string) => string[]; computeCellsAndProofs: (blob: string) => [string[], string[]]; verifyBlobProofBatch: (blobs: string[], commitments: string[], proofs: string[]) => boolean; computeBlobProof: (blob: string, commitment: string) => string; blobToKzgCommitment: (blob: string) => string; verifyProof: (commitment: string, z: string, y: string, proof: string) => boolean; }>; //# sourceMappingURL=index.d.ts.map