import type { CleanupFn } from '../reactive/index'; import type { BindingContext, DirectiveHandler } from './types'; /** * Registry mapping each built-in directive name to its handler. `bind` and `on` * are factories (they take the bound attribute/event name); the rest are plain * handlers invoked when their `bq-*` attribute is processed. */ export type DirectiveHandlers = { text: DirectiveHandler; error: DirectiveHandler; aria: DirectiveHandler; html: DirectiveHandler; htmlSafe: DirectiveHandler; if: DirectiveHandler; show: DirectiveHandler; class: DirectiveHandler; style: DirectiveHandler; model: DirectiveHandler; ref: DirectiveHandler; for: DirectiveHandler; once: DirectiveHandler; init: DirectiveHandler; memo: DirectiveHandler; bind: (attrName: string) => DirectiveHandler; on: (eventName: string, modifiers?: Set) => DirectiveHandler; }; /** * Processes a single element for directives. * @internal */ export declare const processElement: (el: Element, context: BindingContext, prefix: string, cleanups: CleanupFn[], handlers: DirectiveHandlers) => boolean; /** * Recursively processes children of an element. * @internal */ export declare const processChildren: (el: Element, context: BindingContext, prefix: string, cleanups: CleanupFn[], handlers: DirectiveHandlers) => void; //# sourceMappingURL=process.d.ts.map