import { type InteractiveProductViewHandle, type MountProductViewOptions, type ProductViewHandle } from "./product-view.js"; type CacheStorageLike = Pick; type ServiceWorkerContainerLike = Pick & { ready?: Promise; }; export interface EnsureProductViewServiceWorkerOptions { serviceWorker?: ServiceWorkerContainerLike; serviceWorkerUrl?: string | URL; } export interface BuildHostedProductViewRouteOptions { scopePath?: string; scopeUrl?: string | URL; instanceId?: string; } export interface ProductViewHostedRoute { routeBasePath: string; frameUrl: string; scopePath: string; instanceId: string; } export interface InstallHostedProductViewAssetsOptions { assets: Map; routeBasePath: string; cacheName?: string; cacheStorage?: CacheStorageLike; origin?: string | URL; } export interface InstalledHostedProductViewAssets { routeBasePath: string; frameUrl: string; urls: readonly string[]; purge(): Promise; } export interface HostedProductViewHandle extends ProductViewHandle { readonly routeBasePath: string; readonly frameUrl: string; purgeAssets(): Promise; } export interface InteractiveHostedProductViewHandle extends InteractiveProductViewHandle { readonly routeBasePath: string; readonly frameUrl: string; purgeAssets(): Promise; } export interface MountHostedProductViewOptions extends Omit { assets: Map; cacheName?: string; cacheStorage?: CacheStorageLike; serviceWorker?: ServiceWorkerContainerLike; serviceWorkerUrl?: string | URL; relayPageUrl?: string | URL; routeBasePath?: string; instanceId?: string; } export declare function buildHostedProductViewRoute(productId: string, options?: BuildHostedProductViewRouteOptions): ProductViewHostedRoute; export declare function buildHostedProductViewRelayUrl(frameUrl: string, relayPageUrl: string | URL): string; export declare function ensureProductViewServiceWorker(options?: EnsureProductViewServiceWorkerOptions): Promise; export declare function installHostedProductViewAssets(options: InstallHostedProductViewAssetsOptions): Promise; export declare function mountHostedProductView(options: MountHostedProductViewOptions & { enableInteractiveSandbox: true; }): Promise; export declare function mountHostedProductView(options: MountHostedProductViewOptions): Promise; export {}; //# sourceMappingURL=product-view-hosted.d.ts.map