import React, { ReactNode } from 'react'; export declare const getId: () => string; export declare const hasChild: (children: ReactNode | undefined, child: React.ElementType) => boolean; export declare const pick: (props: Key[], obj: Obj) => Pick; export declare const pickChild: (children: ReactNode | undefined, targetChild: React.ElementType) => [React.ReactNode | T, React.ReactNode[] | undefined]; export declare const pickSingleChild: (children: ReactNode | undefined, targetChild: React.ElementType) => [T, React.ReactNode]; export declare const isChildElement: (parent: Element | null | undefined, child: Element | null | undefined) => boolean; export declare const isBrowser: () => boolean; export declare const isMac: () => boolean; export declare const setChildrenIndex: (children: ReactNode | undefined, targetComponents?: Array) => ReactNode | undefined; export declare const flattenArray: (arr: any[]) => any[];