import { type FhirPatientMatchInput, type SecureDidcommTransportAdapter, type TransportProfile } from 'gdc-sdk-core-ts'; export type MatchPatientAtIndexProviderInput = Readonly<{ /** Provider FHIR base discovered from the resolved index-provider DID. */ fhirBaseUrl: string; /** Patient containing the governed identifier known by the requesting BFF. */ patient: FhirPatientMatchInput; /** DID of the authenticated professional, member or controller making the request. */ requesterDid: string; /** Provider DID returned by the public subject-identifier ledger lookup. */ indexProviderDid: string; /** Optional PDQm control that excludes possible, lower-confidence matches. */ onlyCertainMatches?: boolean; }>; export type FhirPatientMatchBundle = Readonly<{ resourceType: 'Bundle'; type: 'searchset'; [key: string]: unknown; }>; type PatientMatchDependencies = Readonly<{ transportProfile: TransportProfile; secureTransportAdapter?: SecureDidcommTransportAdapter; createUuid: () => string; post: (url: string, request: Readonly<{ contentType: string; accept: string; body: Record | string; }>) => Promise>; }>; /** * Calls the resolved provider's IHE PDQm `POST Patient/$match` facade. * * The opaque subject-identifier hash is deliberately absent: it stops at the * preceding Fabric lookup. Native FHIR sends one `Parameters` body. DIDComm * plain places that same resource in the only `body.data[]` entry. Strict mode * signs and encrypts the identical DIDComm message through the wallet adapter * and sends `request=` as `application/x-www-form-urlencoded`. * * @see https://profiles.ihe.net/ITI/PDQm/ITI-119.html */ export declare function matchPatientAtIndexProviderWithDeps(input: MatchPatientAtIndexProviderInput, dependencies: PatientMatchDependencies): Promise; export {};