UNPKG

@stencil/react-output-target

Version:

React output target for @stencil/core components.

18 lines (16 loc) 811 B
import { ComponentCompilerMeta } from '@stencil/core/internal'; import { Project, SourceFile } from 'ts-morph'; import { RenderToStringOptions } from './runtime/ssr.js'; export declare const createComponentWrappers: ({ stencilPackageName, components, outDir, esModules, customElementsDir, excludeComponents, project, hydrateModule, clientModule, excludeServerSideRenderingFor, serializeShadowRoot, }: { stencilPackageName: string; components: ComponentCompilerMeta[]; customElementsDir: string; outDir: string; esModules?: boolean; excludeComponents?: string[]; project: Project; hydrateModule?: string; clientModule?: string; excludeServerSideRenderingFor?: string[]; serializeShadowRoot?: RenderToStringOptions["serializeShadowRoot"]; }) => Promise<SourceFile[]>;