/** * Copyright (c) 2026, Salesforce, Inc., * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * Returns the JavaScript source that gets injected into previewed web apps. * Reads from templates/livePreviewScript.js at runtime (copied to dist/ by postbuild). * Cached after first read. * * Responsibilities: * - Fetch interceptor for network-error detection (runs synchronously on load) * - Runtime / compile / HMR error listeners * - Error deduplication * - postMessage bridge to the VS Code webview (when running inside an iframe) * - Copy / paste / right-click bridge for VS Code webview */ export declare function getLivePreviewScriptContent(): string; /** Data attribute used to detect (and prevent) double injection. */ export declare const LIVE_PREVIEW_SCRIPT_MARKER = "data-live-preview"; //# sourceMappingURL=livePreviewScript.d.ts.map