import type { ComponentChild, ComponentChildren } from 'preact'; import { Children as PreactChildren } from 'preact/compat'; /** * Type of ReactLynx children utilities. * * @public * * @group Types */ export type ReactLynxChildren = Omit & { map(children: T | T[], fn: (child: T, index: number) => R): readonly R[] | null; forEach(children: T | T[], fn: (child: T, index: number) => R): readonly R[] | null; toArray(children: ComponentChildren): Readonly>; }; export declare const Children: ReactLynxChildren;