/** * The Astro renderer's server half: what Astro calls to render a Lit * element, written as a tag in a page (``) or used as an imported * class (``). It renders the element with * `@lit-labs/ssr` into a declarative shadow root, its props split into * attributes and properties (`props.ts`), and its named slots assigned * (`slots.ts`). * * Loaded by Astro through Vite's SSR module graph, so the plugin's own * server-side handling applies: `?css-sheet` imports render their css into * the shadow root, and in dev an edited component's next definition * replaces the old one instead of throwing. */ /** The slice of Astro's `AstroComponentMetadata` the renderer reads. */ interface Metadata { /** The island's directive; absent for an element no island wraps. */ hydrate?: string; } declare const check: (component: unknown) => Promise; declare const renderToStaticMarkup: (component: unknown, props?: Record, slots?: Record, metadata?: Metadata) => Promise<{ html: string; }>; declare const _default: { name: string; check: typeof check; renderToStaticMarkup: typeof renderToStaticMarkup; }; export default _default; //# sourceMappingURL=server.d.ts.map