import { SingleOrArray } from "../../../types.mjs";
import { SdJwtVcHeader } from "../../sd-jwt-vc/SdJwtVcOptions.mjs";
import { SdJwtVc } from "../../sd-jwt-vc/SdJwtVcService.mjs";
import "../../sd-jwt-vc/index.mjs";
import { MdocDeviceResponse } from "../../mdoc/MdocDeviceResponse.mjs";
import "../../mdoc/index.mjs";
import { ClaimFormat } from "../../vc/models/ClaimFormat.mjs";
import { W3cJwtVerifiableCredential } from "../../vc/jwt-vc/W3cJwtVerifiableCredential.mjs";
import { W3cJsonLdVerifiableCredential } from "../../vc/linked-data-proofs/models/W3cJsonLdVerifiableCredential.mjs";
import { W3cJsonLdVerifiablePresentation } from "../../vc/linked-data-proofs/models/W3cJsonLdVerifiablePresentation.mjs";
import { W3cJwtVerifiablePresentation } from "../../vc/jwt-vc/W3cJwtVerifiablePresentation.mjs";
import { DifPresentationExchangeDefinition, DifPresentationExchangeSubmission, VerifiablePresentation } from "../models/index.mjs";
import "../../vc/index.mjs";
//#region src/modules/dif-presentation-exchange/utils/presentationSelection.d.ts
export type DifPexPresentationWithDescriptor = ReturnType<typeof extractPresentationsWithDescriptorsFromSubmission>[number];
export declare function extractPresentationsWithDescriptorsFromSubmission(presentations: SingleOrArray<VerifiablePresentation>, submission: DifPresentationExchangeSubmission, definition: DifPresentationExchangeDefinition): ({
  readonly claimFormat: ClaimFormat.MsoMdoc;
  readonly descriptor: import("@sphereon/pex-models").Descriptor;
  readonly presentation: MdocDeviceResponse;
  readonly credential: import("@owf/mdoc").Document;
  readonly inputDescriptor: import("@sphereon/pex-models").InputDescriptorV1 | import("@sphereon/pex-models").InputDescriptorV2;
} | {
  readonly claimFormat: ClaimFormat.JwtVp | ClaimFormat.LdpVp;
  readonly descriptor: import("@sphereon/pex-models").Descriptor;
  readonly presentation: W3cJwtVerifiablePresentation | W3cJsonLdVerifiablePresentation;
  readonly credential: W3cJwtVerifiableCredential | W3cJsonLdVerifiableCredential;
  readonly inputDescriptor: import("@sphereon/pex-models").InputDescriptorV1 | import("@sphereon/pex-models").InputDescriptorV2;
} | {
  readonly claimFormat: ClaimFormat.SdJwtDc;
  readonly descriptor: import("@sphereon/pex-models").Descriptor;
  readonly presentation: SdJwtVc<SdJwtVcHeader, import("@sd-jwt/sd-jwt-vc").SdJwtVcPayload>;
  readonly credential: SdJwtVc;
  readonly inputDescriptor: import("@sphereon/pex-models").InputDescriptorV1 | import("@sphereon/pex-models").InputDescriptorV2;
})[];
//#endregion
//# sourceMappingURL=presentationSelection.d.mts.map