import { type FhirR5Subscription, type FhirR5SubscriptionScope, type FhirR5SubscriptionTopic } from 'gdc-common-utils-ts/models/fhir-r5-subscription'; import type { RouteContext } from './individual-onboarding.js'; import type { PollOptions, SubmitAndPollResult, SubmitPayload } from './orchestration/client-port.js'; export interface FhirR5SubscriptionBatchInput { subscription: FhirR5Subscription; scope: FhirR5SubscriptionScope; } type SubmitAndPoll = (submitPath: string, pollPath: string, payload: SubmitPayload, pollOptions?: PollOptions) => Promise; type SubscriptionRuntimeDeps = { createRuntimeUuid: () => string; submitPath: (ctx: RouteContext, section: 'entity' | 'individual') => string; pollPath: (ctx: RouteContext, section: 'entity' | 'individual') => string; submitAndPoll: SubmitAndPoll; }; /** Registers one active topic definition in GW CORE's neutral tenant catalog. */ export declare function submitFhirR5SubscriptionTopicBatchWithDeps(ctx: RouteContext, topic: FhirR5SubscriptionTopic, pollOptions: PollOptions | undefined, deps: Omit & { submitPath: (ctx: RouteContext) => string; pollPath: (ctx: RouteContext) => string; }): Promise; /** * Registers one neutral rest-hook Subscription. Individual scope maps to the * individual section and retains the exact patient/subject validation owned by * Common Utils and GW CORE; tenant scope maps to entity. */ export declare function submitFhirR5SubscriptionBatchWithDeps(ctx: RouteContext, input: FhirR5SubscriptionBatchInput, pollOptions: PollOptions | undefined, deps: SubscriptionRuntimeDeps): Promise; export {};