import { BindingDescriptor } from '../../types'; type TemplateLoadResult = { bindings: BindingDescriptor[]; }; export declare const prepareTemplate: (template: string) => HTMLTemplateElement; /** * Injects the template HTML into the host element and scans for data bindings. * Returns a list of all bindings found in text nodes and attributes. * * Directive scanning ($for / $if / $show / $bind) is performed separately * by `scanDirectivesWithRefs` in the web component lifecycle. * * elements are preprocessed here in a detached