import { ComponentType, ReactNode } from 'react'; export interface AppRoute { path: string; element: ComponentType | ReactNode; protected?: boolean; layout?: string; children?: AppRoute[]; }