/** * Keyed list rendering: reuses the node of every key that is still present (keeping focus and * animations), creates nodes for new keys, removes the rest and puts them in item order. * The container must hold only this list. Duplicate keys share one node, so keys must be unique. */ export declare function renderList(container: Element, items: readonly T[], key: (item: T) => string, create: (item: T) => HTMLElement, patch: (el: HTMLElement, item: T, index: number) => void): void;