import * as React from 'react'; export function clearLog(): void; export function resetInstanceIdCounters(): void; export class VisualizerProvider extends React.Component<{}, {}> {} export class Log extends React.Component<{}, {}> {} export interface TraceProps { trace: (msg: string) => void, LifecyclePanel : () => JSX.Element } // Diff / Omit from https://github.com/Microsoft/TypeScript/issues/12215#issuecomment-311923766 type Diff = ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T]; type Omit = Pick> // Simpler TypeScript 2.8+ definition of Omit (disabled for now to support lower TypeScript versions) // export type Omit = Pick>; // Due to https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20796, we cannot use traceLifecycle as a decorator // in TypeScript, so just do `const TracedComponent = traceLifecycle(ComponentToTrace)` instead. export function traceLifecycle

( component: React.ComponentClass

): React.ComponentClass>;