//#region src/Slots/utils/reduceWithOut.d.ts /** * Maps children while excluding `Slot` and `Template` marker elements. * * Used by `Template.reduce` to preserve the public helper that filters slot * markers out of mixed children collections. * * @param children - Child or children to reduce. * @param fn - Mapper called for every non-slot child. * @returns The mapped children. */ declare function reduceWithOut(children: C | readonly C[], fn: (child: C, index: number) => T): C extends null | undefined ? C : Array>; //#endregion export { reduceWithOut }; //# sourceMappingURL=reduceWithOut.d.cts.map