import type { SubmitAndPollResult } from 'gdc-sdk-core-ts'; import type { ProfileLoadRequest } from 'gdc-sdk-core-ts'; import type { RouteContext } from './individual-onboarding.js'; import type { SmartTokenExchangeResult, SmartTokenRequestInput } from './smart-token.js'; import type { BlockchainArtifactRegistrationInput, ClinicalBundleSearchInput } from './resource-operations.js'; import { type BackendProfessionalProfile, type BackendProfileRuntimeClient } from './backend-profile-runtime.js'; /** * Backend use-case facade for the current professional happy path. * * This mirrors the individual-controller runtime wrapper, but for the actor * that: * - loads one protected professional profile, * - requests one SMART token, * - reads one authorized clinical bundle or latest IPS bundle. */ export declare class ProfessionalBackendRuntime { private readonly profileRuntime; constructor(profileRuntime: BackendProfileRuntimeClient); /** * Loads one professional backend profile and materializes its actor facade in * one step. */ loadProfile(input: ProfileLoadRequest): Promise; /** * Requests one SMART/OpenID token from the professional actor facade. */ requestSmartToken(profile: BackendProfessionalProfile, input: SmartTokenRequestInput): Promise; /** * Searches one authorized clinical bundle through the professional facade. */ searchClinicalBundle(profile: BackendProfessionalProfile, ctx: RouteContext, input: ClinicalBundleSearchInput): Promise; /** * Reads the latest IPS-oriented bundle through the professional facade. */ getLatestIps(profile: BackendProfessionalProfile, ctx: RouteContext, input: Omit): Promise; /** * Registers one FHIR resource or raw artifact on blockchain before it is * attached to a communication. */ registerBlockchainArtifactAndUpdateIndex(profile: BackendProfessionalProfile, ctx: RouteContext, input: BlockchainArtifactRegistrationInput): Promise; }