import * as React from 'react'; /** A component function which doesn't explicitly declare itself as React.FunctionComponent/SFC/FunctionComponent */ export declare type ComponentLike

= React.ComponentClass

| ((props?: P) => React.ReactElement

| null); export interface IRouteProps extends React.ClassAttributes { path?: string; children?: React.ReactNode; /** * The component to render for this route's content (or a loading placeholder if `getComponent` is provided). */ component?: ComponentLike; /** * Function that loads the component asynchronously. * Notify when loading has finished using `cb`. * If `component` is provided, it will be rendered while waiting for the callback. */ getComponent?: (cb: (component: ComponentLike) => void) => void; } export declare class Route extends React.PureComponent { }