import { type ReactElement, type MutableRefObject } from 'react'; declare function findComponent

(Children: any, names: string[], recursively?: boolean, limit?: number): ReactElement

| undefined; export declare function isAdvanceMode(Children: any, name: string[], recursively?: boolean): boolean; type IntergalacticComponent = ReactElement & { ref?: MutableRefObject; }; export declare function findAllComponents(Children: any, names: string[]): IntergalacticComponent[]; /** * Extract some components from Children and return them and rest of components as tuple. */ export declare function extractFrom(Children: any, names: string[]): IntergalacticComponent[][]; export default findComponent;