import { MaybeReactive } from '../reactive'; import { HTML, TinafElement, VComponent, WithHtml } from './component'; import { AddClassesArgs } from '../dom/create-dom-element'; declare class ForLoopComponent implements VComponent { private items; private renderFn; private keyFunction; constructor(items: MaybeReactive, renderFn: (item: T, index: number) => TinafElement, keyFunction: (item: T) => string | number); readonly __type = "V_COMPONENT"; readonly __subtype = "For"; private _html; get html(): HTML[]; private _renderChildHtmlAndInit; private _renderChildrenAndInit; private vnodes; renderOnce(): HTML[]; addClass(args: AddClassesArgs): VComponent; parent: WithHtml; private sub; private _destroyVNode; private _registerVNode; private _vNodeExists; init(parent: WithHtml): void; destroy(): void; } /** * Creates a list of elements from a reactive list */ export declare function For({ each, keyFunction, children, }: { each: MaybeReactive; keyFunction?: (item: T) => string | number; children?: [(item: T) => TinafElement]; }): ForLoopComponent; export {};