/** * Hosts a drop's markup and CSS, byte-identical, inside a stage's host element. * * The `html`/`css` strings are the DESIGN'S OWN vendored bytes (imported at build * time, e.g. vite `?raw`) — injecting them verbatim is the point, not a hole in * the vocabulary: this module renders design-owned code, it never writes * integration data. Data enters only through the seam's applier. * * `shadow: true` (default) isolates the drop's CSS from the shell skin. */ /** * @param {object} options * @param {Element} [options.host] * @param {string} options.html * @param {readonly string[]} [options.css] * @param {boolean} [options.shadow] * @returns {{ root: ParentNode & Element | ShadowRoot, dispose(): void }} */ export function mountDropFragment({ host, html, css, shadow }: { host?: Element | undefined; html: string; css?: readonly string[] | undefined; shadow?: boolean | undefined; }): { root: (ParentNode & Element) | ShadowRoot; dispose(): void; };