import { ConnectedIdentityMetadata, ISemaphoreFullProof, ISemaphoreProofRequiredArgs, IRLNProofRequiredArgs, IRLNFullProof, IJoinGroupMemberArgs, IGenerateGroupMerkleProofArgs, IVerifiablePresentationRequest } from "@cryptkeeperzk/types"; import { Handler } from "../services"; import { ICryptKeeperInjectedProvider } from "./interface"; /** * Represents the CryptKeeper provider that is injected into the application. * This class is responsible for handling interactions with the CryptKeeper extension. * * @class */ export declare class CryptKeeperInjectedProvider extends Handler implements ICryptKeeperInjectedProvider { /** * Indicates whether the provider is CryptKeeper. */ readonly isCryptKeeper = true; /** * Creates an instance of CryptKeeperInjectedProvider. * * @constructor */ constructor(connectedOrigin?: string); getConnectedIdentity(): Promise; connect(isChangeIdentity?: boolean): Promise; generateSemaphoreProof({ externalNullifier, signal, merkleProofSource, }: ISemaphoreProofRequiredArgs): Promise; generateRlnProof({ rlnIdentifier, message, messageLimit, messageId, epoch, merkleProofSource, }: IRLNProofRequiredArgs): Promise; joinGroup({ groupId, apiKey, inviteCode }: IJoinGroupMemberArgs): Promise; generateGroupMerkleProof({ groupId }: IGenerateGroupMerkleProofArgs): Promise; /** * Requests user to reveal a connected identity commitment. * * @returns {Promise} */ revealConnectedIdentityRequest(): Promise; /** * Requests user to provide a verifiable presentation. * NOTE: THIS FUNCTION IS UNDER DEVELOPMENT AND NOT READY FOR PRODUCTION USE * * @param {IVerifiablePresentationRequest} verifiablePresentationRequest - The information provided to the user when requesting a verifiable presentation. * @returns {void} */ DEV_generateVerifiablePresentationRequest(verifiablePresentationRequest: IVerifiablePresentationRequest): Promise; /** * Requests user to reveal a connected identity commitment. * NOTE: THIS FUNCTION IS UNDER DEVELOPMENT AND NOT READY FOR PRODUCTION USE * * @param {string} serializedVerifiableCredential - The json string representation of the verifiable credential to add. * @returns {void} */ DEV_addVerifiableCredentialRequest(serializedVerifiableCredential: string): Promise; } //# sourceMappingURL=CryptKeeperInjectedProvider.d.ts.map