@lwc/ssr-runtime
Version:
Runtime complement to @lwc/ssr-compiler
9 lines • 744 B
TypeScript
import { LightningElement } from './lightning-element';
import type { WireAdapterConstructor, WireContextProviderOptions } from '@lwc/engine-core';
type SsrContextProvider = (le: LightningElement, options?: WireContextProviderOptions) => void;
export declare function establishContextfulRelationship(parentLe: LightningElement, childLe: LightningElement): void;
export declare function getContextfulStack(le: LightningElement): LightningElement[];
export declare function connectContext(adapter: WireAdapterConstructor, contextConsumer: LightningElement, onNewValue: (newValue: any) => void): void;
export declare function createContextProvider(adapter: WireAdapterConstructor): SsrContextProvider;
export {};
//# sourceMappingURL=wire.d.ts.map