/** * Build a directive-shaped ref callback that spreads a slot prop bag onto * an element exactly once on mount. Used by every compound primitive's * `c.triggerRef()` / `c.panelRef()` factories. * * RFC 07 apply-phase is unowned, so a slot-spreading directive can't create * signals at apply time. The captured `getProps` is invoked exactly once * inside an owned render-effect, then `spread()` writes the (still-reactive, * thanks to getter-bag semantics) attributes onto the node. Subsequent ref * callbacks on the same logical slot are no-ops — single binding per slot. * * Returned callback semantics: * - First non-null `el` value latches and runs `spread`. Subsequent values * (mount → unmount → remount) do NOT re-bind; the original spread keeps * its reactive subscriptions alive against the original node. * * If a slot needs to support remounting, use `c.(userProps)` from the * compound's own JSX instead — the slot factory builds a fresh getter-bag * per call and the wrapper's reactive scope handles the lifecycle. */ export declare function makeSlotRefDirective(getProps: () => object): (el: E | null) => void; //# sourceMappingURL=make-slot-ref-directive.d.ts.map