import { type CleanupFn } from '../../reactive/index'; import type { BindingContext, DirectiveHandler } from '../types'; type ProcessElementFn = (el: Element, context: BindingContext, prefix: string, cleanups: CleanupFn[]) => void; type ProcessChildrenFn = (el: Element, context: BindingContext, prefix: string, cleanups: CleanupFn[]) => void; /** * Handles bq-for directive - list rendering with keyed reconciliation. * * Supports optional `:key` attribute for efficient DOM reuse: * ```html *