/**
 * VGrove UI Client - 新一代标准化 API
 * 基于 React Router v6+ loader/action 模式的现代化路由认证和权限管理
 */
export { createAuthLoader, createRoleLoader, createPermissionLoader, createCombinedLoader, createCustomLoader, combineLoaders, configureLoaders, type AuthCheck, type RoleCheck, type PermissionCheck, type LoaderOptions } from './loaders';
export { createAction, createLoginAction, createRegisterAction, createLogoutAction, createCrudAction, createFileUploadAction, combineActions, configureActions, type ValidationError, type ActionResponse, type FormValidator, type DataProcessor, type ActionOptions } from './actions';
import type { BaseUser } from './types';
export * from './types';
export * from './hooks';
export * from './utils';
export * from './performance';
export * from './config';
export * from './debug';
export * from './i18n';
export * from './i18n-loader';
export * from './i18n-route-loader';
export * from './middleware';
export * from './enhanced-loaders';
export * from './autoroutes-integration';
export { default as AutoroutesIntegration } from './autoroutes-integration';
export declare const VERSION = "2.0.0";
export declare const API_VERSION = "v2";
/**
 * 快速配置 VGrove 认证系统
 *
 * @example
 * ```typescript
 * import { quickSetup } from '@gulibs/vgrove-ui';
 *
 * const { authLoader, loginAction, logoutAction } = quickSetup({
 *   authCheck: () => getCurrentUser(),
 *   loginApi: async (credentials) => await login(credentials),
 *   loginPath: '/login',
 *   publicPaths: ['/login', '/register']
 * });
 *
 * // 在路由中使用
 * const router = createBrowserRouter([
 *   {
 *     path: '/dashboard',
 *     element: <Dashboard />,
 *     loader: authLoader
 *   },
 *   {
 *     path: '/login',
 *     element: <Login />,
 *     action: loginAction
 *   }
 * ]);
 * ```
 */
export declare function quickSetup<TUser extends BaseUser = BaseUser, TCredentials = any>(config: {
    /** 认证检查函数 */
    authCheck: () => Promise<TUser | null> | TUser | null;
    /** 登录 API */
    loginApi?: (credentials: TCredentials) => Promise<{
        user: TUser;
        token: string;
    }>;
    /** 登出处理函数 */
    logoutHandler?: () => Promise<void>;
    /** 登录页面路径 */
    loginPath?: string;
    /** 禁止访问页面路径 */
    forbiddenPath?: string;
    /** 公共路径列表 */
    publicPaths?: string[];
    /** 是否启用调试 */
    debug?: boolean;
}): {
    authLoader: import("react-router").LoaderFunction;
    loginAction: import("react-router").ActionFunction<any> | undefined;
    logoutAction: import("react-router").ActionFunction<any>;
};
//# sourceMappingURL=index.d.ts.map