import { ReactElement, JSXElementConstructor } from 'react';
/**
 *  Sets customChecker which will be used for all components.
 *
 * @param providedChecker {Function} - Checker function
 */
export declare function overrideComponentTypeChecker(providedChecker: (reactElementType: string | JSXElementConstructor<any>, reactElement: ReactElement) => boolean): void;
/**
 * Returns true if the provided element is a component of the provided type.
 *
 * @param reactElementType {string | JSXElementConstructor<any>} - the type of a React Element
 * @param reactElement {ReactElement} - any React Element (not a real DOM node)
 */
export declare function defaultChecker(reactElementType: string | JSXElementConstructor<any>, reactElement: ReactElement): boolean;
/**
 * Executes customChecker if it's set or defaultChecker.
 *
 * @param reactElementType {string | JSXElementConstructor<any>} - the type of a React Element
 * @param reactElement {ReactElement} - any React Element (not a real DOM node)
 */
export default function isComponentOfType(reactElementType: string | JSXElementConstructor<any>, reactElement: ReactElement): boolean;
