/** * Slot directive for content transclusion. * * @remarks * A slot is a placeholder in a template that receives content * from the element using the template. Slots enable composition * by allowing parent content to be projected into child templates. * * @packageDocumentation */ import { Directive } from '../types.js'; /** * Slot directive for content transclusion. * * @remarks * Finds the nearest template ancestor and transcludes the * matching slot content into itself. The SlotContentContext * is automatically injected via DI. * * If the slot name is an expression, wraps in an effect * for reactivity. * * @example * Static slot name: * ```html * * ``` * * Dynamic slot name: * ```html * * ``` * * Default slot (no name): * ```html * * ``` */ export declare const slot: Directive<['$expr', '$element', '$eval']>; /** * Process native elements. * * @remarks * This handles native `` elements in templates, * treating them the same as `g-slot` directives. * * @internal */ export declare function processNativeSlot(el: Element): void;