import type { PollOptions, SubmitAndPollResult } from './orchestration/client-port.js'; import type { HostRouteContext } from './host-onboarding.js'; import type { RouteContext } from './individual-onboarding.js'; /** * High-level runtime input for organization-side extra-license activation after * the portal has already resolved the commercial/payment step out of band. * * Target business sequence: * - portal lists/searches `Offer` * - portal completes the fictitious or real payment outside GW CORE * - portal confirms the accepted offer to GW CORE * - GW CORE materializes the new `device-licenses` seats for the tenant * * Transport note: * - current GW CORE exposes this confirmation step through the host * `registry/org.schema/Order/_batch` route * - that host route owns commercial routing and persistence only; it does not * change the security principal or move controller keys into the host vault * - `issuerDid` must be the exact controller DID registered through DCR for the * tenant in `routeCtx`; signed/encrypted transports therefore emit its * registered `kid`/`skid`, and GW resolves those public keys from that tenant * - `aud` remains the tenant id so GW cannot confuse a host-routed Order with a * host-authored controller request */ export type OrganizationLicenseOrderConfirmInput = Readonly<{ /** Exact tenant DCR-registered controller DID used as `iss` and key owner. */ issuerDid: string; offerId: string; hostNetwork?: string; dataType?: string; additionalClaims?: Record; timeoutSeconds?: number; intervalSeconds?: number; }>; type ConfirmOrganizationLicenseOrderDeps = Readonly<{ routeCtx: RouteContext; input: OrganizationLicenseOrderConfirmInput; defaultTimeoutMs?: number; defaultIntervalMs?: number; hostRegistryOrderBatchPath: (ctx: HostRouteContext) => string; hostRegistryOrderPollPath: (ctx: HostRouteContext) => string; submitAndPoll: (submitPath: string, pollPath: string, payload: { thid?: string; } & Record, options?: PollOptions) => Promise; }>; export declare function confirmOrganizationLicenseOrderWithDeps(deps: ConfirmOrganizationLicenseOrderDeps): Promise; export {};