import { ComponentProps, FC, ReactElement, ReactNode } from "react";
import "./array.polyfill.flat";
export declare function findComponent<T extends FC>(nodes: ReactNode, componentType: T): ReactElement<ComponentProps<T>> | null;
export declare function excludeComponent<T extends FC>(nodes: ReactNode, componentType: T): ReactElement<ComponentProps<T>>[];
export declare function filterByType<T extends FC>(nodes: ReactNode, componentType: T | T[]): ReactElement<ComponentProps<T>>[];
export declare function filterBy(nodes: ReactNode, predicate: (el: ReactElement) => boolean): ReactElement[];
//# sourceMappingURL=utils.d.ts.map