/**
 * 路由错误类型定义
 */
import { FrameworkError, ErrorSeverity } from '../../../utils/errors';
/**
 * 路由错误代码
 */
export declare enum RouterErrorCode {
    /**
     * 路由未初始化
     */
    ROUTER_NOT_INITIALIZED = "ROUTER_NOT_INITIALIZED",
    /**
     * 路由配置错误
     */
    ROUTER_CONFIG_ERROR = "ROUTER_CONFIG_ERROR",
    /**
     * 路由未找到
     */
    ROUTE_NOT_FOUND = "ROUTE_NOT_FOUND",
    /**
     * 路由导航失败
     */
    ROUTE_NAVIGATION_FAILED = "ROUTE_NAVIGATION_FAILED",
    /**
     * 路由权限不足
     */
    ROUTE_PERMISSION_DENIED = "ROUTE_PERMISSION_DENIED",
    /**
     * 路由组件加载失败
     */
    ROUTE_COMPONENT_LOAD_FAILED = "ROUTE_COMPONENT_LOAD_FAILED",
    /**
     * 路由转换失败
     */
    ROUTE_TRANSFORM_FAILED = "ROUTE_TRANSFORM_FAILED"
}
/**
 * 路由错误
 */
export declare class RouterError extends FrameworkError {
    constructor(message: string, code: RouterErrorCode, severity?: ErrorSeverity, cause?: Error, context?: Record<string, unknown>);
}
/**
 * 创建路由错误
 */
export declare function createRouterError(message: string, code: RouterErrorCode, severity?: ErrorSeverity, cause?: Error, context?: Record<string, unknown>): RouterError;
//# sourceMappingURL=RouterError.d.ts.map