import { LazyStrategy } from '../lazy/lazyStrategies'; /** * Pick a LazyStrategy from the attributes on a element. * Returns `null` for `eager` (= load immediately, no observation needed). */ export declare function resolveLazyStrategy(el: Element): LazyStrategy | null; /** * Process a single element. Removes it from the DOM and replaces it * with a comment placeholder + (optional) placeholder content. Schedules the * actual content to swap in when the chosen strategy fires. */ export declare function processLazyElement(lazyEl: Element): void; /** * Find and process all top-level elements in `host`. elements * inside templates are skipped; they get processed when the loop * renders each iteration via processLazyElement on the cloned content. * * Accepts a connected host OR a detached DocumentFragment — the latter is * used by `loadTemplate` to preprocess before any custom-element * children get a chance to fire connectedCallback (and drain their light * DOM into __originalChildren). Without this preprocessing, lazy's * detach-then-reattach cycle would re-run children's connectedCallback with * an empty innerHTML, breaking components that read $host.__originalHTML. */ export declare function scanLazyElements(host: HTMLElement | ShadowRoot | DocumentFragment): void; /** * Returns all detached DocumentFragments held by pending `` placeholders * inside `host`. Used by binding/event-handler/directive scanners to wire up * the children of `` elements while they are still detached from the * document. Wiring done on these fragments survives the later move into the * host tree when the lazy strategy fires. * * Returns an empty array for hosts that contain no pending lazy fragments. */ export declare function getPendingLazyContent(host: HTMLElement | ShadowRoot | DocumentFragment): DocumentFragment[];