/** * @license * Copyright 2022 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ import type { TemplateResult } from 'lit'; import type { TestRunnerPlugin } from '@web/test-runner'; export interface LitSsrPluginOptions { /** * These modules will be imported from each newly created worker. * (A worker is created for each call to render a template via SSR). * This allows registering hooks for Node.js or general setup. */ workerInitModules?: string[]; } export interface Payload { template: TemplateResult; modules: string[]; } export interface PayloadWithWorkerInitModules extends Payload, Required { } export declare function litSsrPlugin(options?: LitSsrPluginOptions): TestRunnerPlugin; //# sourceMappingURL=lit-ssr-plugin.d.ts.map