/**
 * 路由配置验证器
 * 使用 Zod 进行配置验证，并提供友好的错误信息
 */
import { z } from 'zod';
/**
 * 路由配置验证器
 */
export declare class RouterConfigValidator {
    /**
     * 验证路由配置
     *
     * @param config - 要验证的路由配置
     * @returns 验证后的路由配置
     * @throws ConfigValidationError 如果配置验证失败
     */
    static validate(config: unknown): {
        enabled?: boolean | "disabled" | undefined;
        routes?: any[] | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut> | undefined;
        mode?: "hash" | "browser" | "memory" | undefined;
        options?: any;
        pathResolve?: {
            basePath?: string | undefined;
            pathAliases?: Record<string, string> | undefined;
        } | undefined;
        transformOptions?: any;
    };
    /**
     * 安全验证路由配置（不抛出异常）
     *
     * @param config - 要验证的路由配置
     * @returns 验证结果
     */
    static safeValidate(config: unknown): z.ZodSafeParseResult<{
        enabled?: boolean | "disabled" | undefined;
        routes?: any[] | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut> | undefined;
        mode?: "hash" | "browser" | "memory" | undefined;
        options?: any;
        pathResolve?: {
            basePath?: string | undefined;
            pathAliases?: Record<string, string> | undefined;
        } | undefined;
        transformOptions?: any;
    }>;
    /**
     * 验证路由配置并提供修复建议
     *
     * @param config - 要验证的路由配置
     * @returns 验证结果和修复建议
     */
    static validateWithSuggestions(config: unknown): {
        success: boolean;
        data?: unknown;
        errors?: z.ZodIssue[];
        suggestions?: string[];
    };
}
//# sourceMappingURL=RouterConfigValidator.d.ts.map