/**
 * User Data Utilities (Client-Safe)
 *
 * Client-side utilities for handling user plan and flag data.
 * These functions don't require database access and are safe for client-side usage.
 */
import type { PlanType, UserFlag } from './entities/types';
import type { SessionUser } from './auth';
/**
 * Get user plan and flags from session user (for client-side usage)
 * This is a convenience function that extracts plan data from user session
 *
 * Note: This returns defaults for client-side usage. For actual data,
 * use getUserPlanAndFlags() on the server side.
 */
export declare function extractUserPlanData(user: SessionUser | null): {
    plan: PlanType;
    flags: UserFlag[];
};
/**
 * Clear user data cache (useful for testing or forced refresh)
 */
export declare function clearUserDataCache(userId?: string): void;
/**
 * Get cache statistics (for monitoring)
 */
export declare function getUserDataCacheStats(): {
    size: number;
    keys: string[];
    oldestEntry: number | null;
    newestEntry: number | null;
};
//# sourceMappingURL=user-data-utils.d.ts.map