import type { ItemDescriptor } from "../pageModel";
/**
 * Shared helpers for building the Sitecore page render URL that the editor's page-viewer iframe
 * loads. Extracted from PageViewerFrame so the background/offscreen capture flow can build the same
 * URL for a page that isn't currently open in the editor.
 */
export declare function isLoopbackHost(hostname: string): hostname is "localhost" | "127.0.0.1";
export declare function alignLoopbackHostToEditor(url: URL): void;
export declare function isXmCloudManagedEditingHost(url: URL): boolean;
export declare function alignXmCloudManagedEditingHostToEditor(url: URL): void;
export declare function getEditorQueryParam(name: string): string | undefined;
export declare function inferRoutePathFromSitecoreItemPath(itemPath: string | undefined): string | undefined;
export declare function isRootRenderPath(pathname: string): boolean;
export declare function applyParheliaRenderContext(renderUrl: URL, pageItemDescriptor: ItemDescriptor, siteName: string | undefined): void;
