import { CryptographicParameters } from '../types.js'; import { VerifiablePresentation } from '../types/VerifiablePresentation.js'; import { VerifyWeb3IdCredentialSignatureInput } from '../web3-id/helpers.js'; import { CredentialsInputs, Web3IdProofInput, Web3IdProofRequest } from '../web3-id/types.js'; /** * Verifies that the given signature is correct for the given values/randomness/holder/issuerPublicKey/issuerContract */ export declare function verifyWeb3IdCredentialSignature(input: VerifyWeb3IdCredentialSignatureInput): boolean; /** * Given a statement about an identity and the inputs necessary to prove the statement, produces a proof that the associated identity fulfills the statement. */ export declare function getVerifiablePresentation(input: Web3IdProofInput): VerifiablePresentation; /** * Verify the proofs contained in the {@linkcode VerifiablePresentation}. * * @param presentation - The verifiable presentation to verify. * @param globalContext - The cryptographic parameters of the chain the presentation is created on. * @param publicData - The public data corresponding to the proofs contained in the presentation. * * @returns The request corresponding to the verifable presentation, if verification is successful. * @throws If the verification is not successful for any reason. */ export declare function verifyPresentation(presentation: VerifiablePresentation, globalContext: CryptographicParameters, publicData: CredentialsInputs[]): Web3IdProofRequest;