///
export type ClientImport = (route: string) => Promise<{
default: any;
}>;
export type Component = {
component: string;
components?: Record;
};
export type DefaultRoutes = {
routes: Component[];
};
export type PreparedComponent = {
component: React.ComponentType;
components?: Record;
};
export type PreparedRoutes = {
routes: PreparedComponent[];
};