/** * @license * Copyright 2022 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ import type { TemplateResult } from 'lit'; import type { FixtureOptions, SsrFixtureOptions } from './fixture-options.js'; declare global { interface Element { setHTMLUnsafe(html: string): void; } } /** * Renders the provided Lit template server-side by executing a custom command * for Web Test Runner provided by the Lit SSR Plugin, loads it to the document * and (optionally) hydrates it, returning the element. * * This module **must** be imported before any custom element definitions. */ export declare function ssrFixture(template: TemplateResult, { modules, base, hydrate }: SsrFixtureOptions): Promise; /** * Renders the provided Lit template server-side by executing a custom command * for Web Test Runner provided by the Lit SSR Plugin, loads it to the document * and hydrates it, returning the element. * * This module **must** be imported before any custom element definitions. */ export declare function ssrHydratedFixture(template: TemplateResult, { modules, base }: FixtureOptions): Promise; /** * Renders the provided Lit template server-side by executing a custom command * for Web Test Runner provided by the Lit SSR Plugin, loads it to the document * **without** hydrating it, returning the element. * * This module **must** be imported before any custom element definitions. */ export declare function ssrNonHydratedFixture(template: TemplateResult, { modules, base }: FixtureOptions): Promise; //# sourceMappingURL=ssr-fixture.d.ts.map