import { type ComponentType, type ReactElement, type ReactNode } from 'react'; /** * Collects every element of a given component type appearing as a direct child * of `node` — transparently descending into `<>...>` Fragments (but not * arbitrary wrapper elements). Used to gather consumer-supplied override * sub-components from a compound component's children. */ export declare const collectDirectChildren:
(node: ReactNode, target: ComponentType
) => ReactElement
[];