UNPKG

@lwc/ssr-runtime

Version:

Runtime complement to @lwc/ssr-compiler

11 lines 806 B
import type { LightningElementConstructor } from './lightning-element'; import type { Stylesheets, Stylesheet } from '@lwc/shared'; import type { RenderContext } from './render'; type ForgivingStylesheets = Stylesheets | Stylesheet | undefined | null | Array<Stylesheets | undefined | null>; type EmitFn = ((strSegment: string) => void) & { cxt: RenderContext; }; export declare function hasScopedStaticStylesheets(Component: LightningElementConstructor): boolean; export declare function renderStylesheets(emit: EmitFn, defaultStylesheets: ForgivingStylesheets, defaultScopedStylesheets: ForgivingStylesheets, staticStylesheets: ForgivingStylesheets, scopeToken: string, Component: LightningElementConstructor, hasScopedTemplateStyles: boolean): string; export {}; //# sourceMappingURL=styles.d.ts.map