declare module 'skin-deep' { import { ReactElement, ComponentClass } from 'react'; export type Selector = any; export type Matcher = any; export interface Tree
{ type: ComponentClass
| string; props: P; reRender(element: JSX.Element|ReactElement
, context?: Object): void; text(): string; toString(): string; getRenderOutput(): ReactElement
;
getMountedInstance(): Object;
subTree(selector: Selector, matcher?: Matcher): Tree (element: ReactElement |JSX.Element, context?: Object): Tree ;
}