import { ReactNode } from 'react';
/** @deprecated */
declare const getChildrenToArray: ({ children, filterLevel, }: {
    children: ReactNode;
    filterLevel: 'main' | 'nested';
}) => (string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal)[];
export default getChildrenToArray;
