/** * Lets a dev server's SSR renders pick up an edited component. * * Vite re-runs an edited module for the next server render, and the module * calls `customElements.define` again for a tag the server already knows. * In Node that registry is `@lit-labs/ssr-dom-shim`'s, which only lets the * second definition through with a warning when `NODE_ENV` is * `development`, and throws under any other value (a test runner's `test`, * or none at all in a custom server), which fails every render after the * first edit. Here a repeat definition replaces the old one, quietly, so the * server renders the new class. * * Lit's node build installs the shim as `globalThis.customElements ??= * shim`, so the registry is wrapped when it is set, or at once if it already * is. Dev server only: production keeps the shim's strictness. */ /** Wrap the server's custom element registry, now or when Lit installs it. */ export declare const allowServerRedefinition: () => void; //# sourceMappingURL=ssr-registry.d.ts.map