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; everySubTree(selector: Selector, matcher?: Matcher): Tree[]; dive(path: Selector[]): Tree; } export function shallowRender

(element: ReactElement

|JSX.Element, context?: Object): Tree

; }