import { ComponentType, LazyExoticComponent, ReactNode } from 'react'; export interface RouteOption { // basic prop path: string; // basic prop exact?: boolean; // preloader for lazy loading fallback?: NonNullable | null; // lazy loaded component component?: LazyExoticComponent>; // sub routes routes?: RouteOption[]; // redirect path redirect?: string; // if router is private, this is going to be true private?: boolean; }