import { normalizeClass } from '@lwc/shared'; import type { SanitizedHtmlContent } from './sanitized-html-content'; import type { Key, VComment, VCustomElement, VElement, VElementData, VFragment, VNode, VNodes, VScopedSlotFragment, VStatic, VStaticPart, VStaticPartData, VText } from './vnodes'; import type { LightningElementConstructor } from './base-lightning-element'; import type { SlotSet } from './vm'; declare function sp(partId: number, data: VStaticPartData | null, text: string | null): VStaticPart; declare function ssf(slotName: unknown, factory: (value: any, key: any) => VFragment): VScopedSlotFragment; declare function st(fragmentFactory: (parts?: VStaticPart[]) => Element, key: Key, parts?: VStaticPart[]): VStatic; declare function fr(key: Key, children: VNodes, stable: 0 | 1): VFragment; declare function h(sel: string, data: VElementData, children?: VNodes): VElement; declare function ti(value: any): number; declare function s(slotName: string, data: VElementData, children: VNodes, slotset: SlotSet | undefined): VElement | VNodes | VFragment; declare function c(sel: string, Ctor: LightningElementConstructor, data: VElementData, children?: VNodes): VCustomElement; declare function i(iterable: Iterable, factory: (value: any, index: number, first: boolean, last: boolean) => VNodes | VNode): VNodes; /** * [f]lattening * @param items */ declare function f(items: ReadonlyArray | VNodes): VNodes; declare function t(text: string): VText; declare function co(text: string): VComment; declare function d(value: any): string; declare function b(fn: EventListener): EventListener; declare function k(compilerKey: number, obj: any): string | void; declare function gid(id: string | undefined | null): string | null | undefined; declare function fid(url: string | undefined | null): string | null | undefined; /** * [ddc] - create a (deprecated) dynamic component via `` * * TODO [#3331]: remove usage of lwc:dynamic in 246 * @param sel * @param Ctor * @param data * @param children */ declare function ddc(sel: string, Ctor: LightningElementConstructor | null | undefined, data: VElementData, children?: VNodes): VCustomElement | null; /** * [dc] - create a dynamic component via `` * @param Ctor * @param data * @param children */ declare function dc(Ctor: LightningElementConstructor | null | undefined, data: VElementData, children?: VNodes): VCustomElement | null; declare function shc(content: unknown): SanitizedHtmlContent; declare const api: Readonly<{ s: typeof s; h: typeof h; c: typeof c; i: typeof i; f: typeof f; t: typeof t; d: typeof d; b: typeof b; k: typeof k; co: typeof co; dc: typeof dc; fr: typeof fr; ti: typeof ti; st: typeof st; gid: typeof gid; fid: typeof fid; shc: typeof shc; ssf: typeof ssf; ddc: typeof ddc; sp: typeof sp; ncls: typeof normalizeClass; }>; export default api; export type RenderAPI = typeof api; //# sourceMappingURL=api.d.ts.map