export declare const PREVIEW_PARAM_ID = "cioPreviewId";
export declare const PREVIEW_SETTINGS_PARAM = "cioPreviewSettings";
export declare function setupPreview(): boolean;
/**
 * Rewrites a navigation target so the preview session survives the hop:
 * setupPreview() on the destination page re-bootstraps the preview bar and the
 * preview user token from these params. Without them a cross-page step change
 * would strand the tab in a headless preview session — sessionStorage keeps the
 * preview token alive, but the bar (and its exit affordance) only initializes
 * from the URL (INAPP-14575).
 */
export declare function withPreviewSession(url: string, stepName?: string, displayType?: string): string;
export declare function teardownPreview(): void;
