import { ReactElement, ReactNode } from 'react';
export declare function createChildSlot<P>(name?: string): import("react").FunctionComponent<P> & {
    isElementOf: (el: ReactElement) => el is ReactElement<P, string | import("react").JSXElementConstructor<any>>;
    findElement: (children?: ReactNode | ReactNode[]) => ReactElement<P> | undefined;
};
//# sourceMappingURL=createChildSlot.d.ts.map