/** * The outer runtime and native iframe share an origin, but own different stores. * An outer pending-list projection can overwrite the native boot key with {}. * Route only this iframe's official selection read to the parent preload cache; * do not change other keys, sessionStorage, writes, or the upstream runtime. * This must precede every boot script, including asynchronously loaded modules. */ export declare const HARNESS_SESSION_RESTORE_SCRIPT = "(() => {\n if (window.location?.search?.includes('arkme-runtime=')) return;\n const bridge = window.parent?.arkmeDesktop?.sessionSelection;\n if (typeof bridge?.restore !== 'function') return;\n const storage = window.localStorage;\n const getItem = Storage.prototype.getItem;\n Storage.prototype.getItem = function(key) {\n if (this === storage && key === 'dsh.sessions.current') return bridge.restore();\n return getItem.call(this, key);\n };\n})();"; //# sourceMappingURL=harness-session-restore-script.d.ts.map