import * as React from 'react'; import { ComponentType } from 'enzyme'; export interface Conformant { constructorName?: string; /** Map of events and the child component to target. */ eventTargets?: object; hasAccessibilityProp?: boolean; /** Props required to render Component without errors or warnings. */ requiredProps?: object; /** Is this component exported as top level API? */ exportedAtTopLevel?: boolean; /** Does this component render a Portal powered component? */ rendersPortal?: boolean; /** This component uses wrapper slot to wrap the 'meaningful' element. */ wrapperComponent?: React.ElementType; handlesAsProp?: boolean; /** List of autocontrolled props for this component. */ autoControlledProps?: string[]; /** Child component that will receive unhandledProps. */ passesUnhandledPropsTo?: ComponentType; /** Child component that will receive ref. */ forwardsRefTo?: string | false; } /** * Assert Component conforms to guidelines that are applicable to all components. * @param Component - A component that should conform. */ export declare function isConformant(Component: React.ComponentType & { handledProps?: string[]; autoControlledProps?: string[]; deprecated_className?: string; }, options?: Conformant): any;