import React from 'react'; export declare const pickChildren: (children: React.ReactNode | undefined, targetType: React.ElementType) => { children: T[]; rest: React.ReactNode[]; };