export { AuthProvider, useAuth } from '../logic/index.js';
import { U as User } from '../../../index-DNKZ7-R_.js';
export { A as AuthGuardProps, i as AuthService, C as CustomMenuItem, F as ForgotPasswordModalProps, e as LoginModalProps, L as LoginRequest, b as LoginResponse, f as RegisterModalProps, R as RegisterRequest, c as RegisterResponse, k as SessionConfig, d as SessionValidation, S as SessionValidationResponse, h as UseAuthReturn, g as UserMenuProps, j as UserRole, a as UserSession, V as ValidateApiAuth } from '../../../index-DNKZ7-R_.js';
import 'react';

/**
 * 验证手机号格式
 */
declare function validatePhoneNumber(phone: string): boolean;
/**
 * 验证密码强度（可扩展）
 */
declare function validatePassword(password: string): {
    valid: boolean;
    message?: string;
};
/**
 * 生成安全的会话令牌
 */
declare function generateSessionToken(): string;
/**
 * 检查用户是否为管理员
 */
declare function isAdmin(user: User | null): boolean;
/**
 * 检查用户是否处于活跃状态
 */
declare function isActiveUser(user: User | null): boolean;
/**
 * 格式化用户显示名称
 */
declare function getUserDisplayName(user: User): string;
/**
 * 计算会话过期时间
 */
declare function calculateSessionExpiry(days?: number): Date;
/**
 * 检查会话是否过期
 */
declare function isSessionExpired(expiresAt: Date): boolean;

export { User, calculateSessionExpiry, generateSessionToken, getUserDisplayName, isActiveUser, isAdmin, isSessionExpired, validatePassword, validatePhoneNumber };
