import React from "react";
export declare function extractCompound<T>(children: React.ReactNode, CompoundType: React.FC<T>): React.ReactElement<T> | undefined;
export declare function extractCompounds<T>(children: React.ReactNode, CompoundType: React.FC<T>): React.ReactElement<T>[];
export declare function extractRest(children: React.ReactNode, excludedCompoundTypes: React.FC<unknown>[]): (React.ReactChild | React.ReactFragment | React.ReactPortal)[];
export declare function CreateBaseCompound<T>(displayName: string): {
    ({ children }: React.PropsWithChildren<T>): JSX.Element;
    displayName: string;
};
export declare function hasChildren(component: React.ReactNode): boolean;
export declare type GetProps<C extends React.FC<unknown>> = C extends React.FC<infer T> ? T : unknown;
