import React from 'react'; /** * Returns the children as a flat array with keys assigned to each child * @param children Children */ export declare const getChildrenAsArray: (children: React.ReactNode) => React.ReactNode[]; /** * Filters out a component from the children and returns it and the children without the filtered out component * @param children Children * @param componentName Name of the component that should be filtered out */ export declare const getComponentFromChildren: (children: React.ReactNode, componentName: string) => React.ReactNode[][]; /** * Get the child elements even if there is a parent container element. * @param children */ export declare const getChildElementsEvenIfContainersInbetween: (children: React.ReactNode) => React.ReactNode[];