import type * as anoncredsTypes from "anoncreds-wasm";
import { Anoncreds } from "./Anoncreds";
/**
 * @class AnoncredsLoader
 * handle loading and access of anoncreds library
 * Singleton to prevent recompilation of wasm
 */
export declare class AnoncredsLoader {
    private static instance;
    private loaded;
    private pkg;
    static getInstance(): Promise<AnoncredsLoader>;
    private load;
    get wasm(): typeof anoncredsTypes;
    createLinksecret(): Anoncreds.LinkSecret;
    createCredentialRequest(credentialOffer: Anoncreds.CredentialOffer, credentialDefinition: Anoncreds.CredentialDefinition, linkSecret: Anoncreds.LinkSecret, linkSecretId: string): [Anoncreds.CredentialRequest, Anoncreds.CredentialRequestMeta];
    processCredential(credentialDefinition: Anoncreds.CredentialDefinition, credential: Anoncreds.CredentialIssued, credentialRequestMeta: Anoncreds.CredentialRequestMeta, linkSecret: Anoncreds.LinkSecret): Anoncreds.Credential;
    createPresentation(presentationRequest: Anoncreds.PresentationRequest, schemas: Record<string, Anoncreds.Schema>, credentialDefinitions: Record<string, Anoncreds.CredentialDefinition>, credential: Anoncreds.Credential, linkSecret: Anoncreds.LinkSecret): Anoncreds.Presentation;
    private mapToObj;
}
