/**
 * 路由配置验证 Schema（使用 Zod）
 */
import { z } from 'zod';
/**
 * RouteItemHandle Schema
 */
export declare const routeItemHandleSchema: z.ZodObject<{
    title: z.ZodString;
    i18nKey: z.ZodOptional<z.ZodString>;
    order: z.ZodNumber;
    icon: z.ZodOptional<z.ZodString>;
    hideInMenu: z.ZodOptional<z.ZodBoolean>;
    hideFooter: z.ZodOptional<z.ZodBoolean>;
    keepAlive: z.ZodOptional<z.ZodBoolean>;
    needLogin: z.ZodOptional<z.ZodBoolean>;
    roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
    name: z.ZodOptional<z.ZodString>;
}, z.core.$loose>;
/**
 * ComponentImport Schema
 * 可以是字符串路径或函数
 */
export declare const componentImportSchema: z.ZodUnion<readonly [z.ZodString, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>, z.ZodNull]>;
/**
 * RouteConfig Schema
 */
export declare const routeConfigSchema: z.ZodType<any>;
/**
 * RouterConfig Schema
 */
export declare const routerConfigSchema: z.ZodObject<{
    enabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"disabled">]>>;
    routes: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>>;
    mode: z.ZodOptional<z.ZodEnum<{
        hash: "hash";
        browser: "browser";
        memory: "memory";
    }>>;
    options: z.ZodOptional<z.ZodAny>;
    pathResolve: z.ZodOptional<z.ZodObject<{
        basePath: z.ZodOptional<z.ZodString>;
        pathAliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, z.core.$strip>>;
    transformOptions: z.ZodOptional<z.ZodAny>;
}, z.core.$strip>;
/**
 * 验证路由配置
 *
 * @param config - 要验证的路由配置
 * @returns 验证后的路由配置
 * @throws z.ZodError 如果配置验证失败
 */
export declare function validateRouterConfig(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 验证结果
 */
export declare function safeValidateRouterConfig(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;
}>;
//# sourceMappingURL=schema.d.ts.map