import MessageBus from '../../../utility/message-bus/messageBus'; import { BehaviorSubject } from 'rxjs'; import type { TectonPlatformControls } from '../../../types/setup'; import type { TectonRuntimeConfig } from '../../../types/config'; export declare const NGAM_BASE: string; /** * Sets up asset path resolver message handlers for retrieving various asset URLs. * Registers handlers for `getCustomerAssetPath`, `getCustomLanguageURL`, `getBaseAssetPath`, and `getNgamBaseUrl`. * * @param messageBus - The platform message bus for feature communication * @param capabilities - Set to populate with available capability names * @param platformControlBus - Platform control bus with handler implementations * @param tectonConfig$ - Observable containing the Tecton runtime configuration * @param teardowns - Array to collect cleanup functions for unsubscribing * * @internal */ export declare function setupPathResolvers(messageBus: MessageBus, capabilities: Set, platformControlBus: TectonPlatformControls, tectonConfig$: BehaviorSubject, teardowns: (() => void)[]): void; /** * Prepends the current origin to a URL if it's a relative path. * Absolute URLs (starting with http) are returned unchanged. * * @param url - The URL to process * @returns Absolute URL with origin prepended if relative */ export declare function ifRelativePrependOrigin(url: string): string; //# sourceMappingURL=assetPathResolvers.d.ts.map