import { type Account, imsTokenExpiry } from './_cloud_core/src/index.js'; import type { Express } from 'express'; import type { SecretStore } from './secrets/types.js'; export { imsTokenExpiry }; export interface HostedBootstrapPayload { model?: string; effortLevel?: string; accounts?: Account[]; /** Back-compat: retained so older webapp builds still read the IMS token. */ adobeImsToken?: string; } export interface BootstrapSources { readConeConfig: () => string | null; getLegacyAdobeToken: () => string | undefined; } export declare function buildHostedBootstrapPayload(sources: BootstrapSources): HostedBootstrapPayload; export declare function registerHostedBootstrapEndpoint(app: Express, options: { secretStore: SecretStore; }): void;