/** * The script a page outside Vite loads to join a standalone devframe, as * served by `lit-devtools dev` and by {@link createLitDevtools}'s handler. */ import type { ConnectionMeta } from 'devframe'; /** * `lit-devtools.js` with the server's connection descriptor prepended as * `globalThis.__LIT_DEVTOOLS_CONNECT__`, so the page never fetches * `__connection.json`: from a page on another origin that request is * cross-origin and gets no CORS headers. The descriptor's fields are picked, * not spread, so nothing else devframe puts in it rides along to any page * that can load a script tag. * * @param url Where the devframe answers; the page's fallback when it cannot * read its own script's address. * @param options.dock Dock the panel in the page (see `runtime/dock.ts`). */ export declare const standaloneScriptResponse: (url: string, { backend, websocket, sse }: ConnectionMeta, { dock }?: { dock?: boolean; }) => Promise; //# sourceMappingURL=standalone-script.d.ts.map