import { StructuralDirective } from './structural.directive';
/**
* For directive — list iteration.
*
* ## Callback mode (existing)
* ```html
*
html`${item}
`]}>
* ```
*
* ## Template mode
* Pass just the items array. The directive clones the child ``
* for each item, interpolating `{{$item}}` / `{{$index}}` tokens:
* ```html
*
*
* - {{$index}}. {{$item.name}} — {{$item.email}}
*
*
* ```
*/
export declare class ForDirective extends StructuralDirective {
private callback;
private itemsData;
private childInstances;
private get processor();
private startMarker;
private endMarker;
/** The `` child found inside the host element (grabbed before mount replaces it) */
private itemTemplate;
mount(element: Element): void;
protected updateContent(items: unknown[]): Promise;
private updateContentFromTemplate;
update(value: unknown): Promise;
private clearChildren;
unmount(): void;
}
//# sourceMappingURL=for.directive.d.ts.map