import * as React from 'react';

interface RouteProps {
  path?: string | string[];
  exact?: boolean;
  sensitive?: boolean;
  strict?: boolean;
  component?: React.ComponentClass<any> | React.FunctionComponent<any>;
  render?: (props) => React.ReactNode;
}

interface AppRouteProps extends RouteProps {
  routes?: Array<RouteProps>;
}

const AppRoute: React.FunctionComponent<AppRouteProps>;

export default AppRoute;
