import { EvaluatePresentationParams, FilterCredentialsParams, CreatePresentationParams } from './config'; /** * @sphereon/pex is not able to handle optional attributes in the presentation definition * https://github.com/Sphereon-Opensource/PEX/issues/150 * Any optional attribute in the presentation definition will cause the library to throw an error * This function removes the optional attribute from the presentation definition * This is a temporary workaround until the issue is fixed in the @sphereon/pex library **/ export declare function removeOptionalAttribute(presentationDefinition: any): any; declare class PEXService { name: string; constructor(); rpcMethods: (((params: FilterCredentialsParams) => import("@sphereon/pex").SelectResults) | ((params: EvaluatePresentationParams) => import("@sphereon/pex").EvaluationResults) | ((params: CreatePresentationParams) => IPresentation))[]; filterCredentials(params: FilterCredentialsParams): import("@sphereon/pex").SelectResults; isCredentialSelectionValid(params: EvaluateCredentialsParams): boolean; evaluatePresentation(params: EvaluatePresentationParams): import("@sphereon/pex").EvaluationResults; presentationFrom(params: CreatePresentationParams): IPresentation; } export declare const pexService: PEXService; export {}; //# sourceMappingURL=service.d.ts.map