import type { Constructor } from '../../../Types/Constructor'; export type IRouteView = string | Constructor | Promise>; export declare namespace IRouteView { function is(value: unknown): value is IRouteView; } export interface IBaseRouteConfig { /** * The name of the route. */ name: string | undefined; /** * The view to render when this route is matched. */ view?: IRouteView; /** * A callback that is called when the route is entered. */ enter?: (params: Record) => Promise | boolean; /** * Optional data to pass to the view when rendering. */ data?: Record; } //# sourceMappingURL=IBaseRouteConfig.d.ts.map