import type { Constructor } from '../../../Types/Constructor';
export type IRouteView = string | Constructor<HTMLElement> | Promise<Constructor<HTMLElement>>;
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<string, string | undefined>) => Promise<boolean> | boolean;
    /**
     * Optional data to pass to the view when rendering.
     */
    data?: Record<string, unknown>;
}
//# sourceMappingURL=IBaseRouteConfig.d.ts.map