import React__default from 'react';
import { T as TestYourselfProps, D as DeviceFingerprint, a as TestResult } from '../ConfigService-BxK06xP6.js';
export { C as ConfigListItem, d as ConfigService, f as ConfigServiceOptions, I as IConfigStorage, S as SavedConfig, b as TestConfig, c as TestStatus, U as UploadResult, e as createConfigService, g as getDefaultConfigService } from '../ConfigService-BxK06xP6.js';
export { ConfigList, ConfigListProps, ConfigManager, ConfigManagerProps } from './admin/index.js';
export { DatabaseConfigAdapter, DatabaseConfigAdapterOptions, DrizzleDb, NewTestYourselfConfig, NewTestYourselfConfigShare, NewTestYourselfConfigUsage, TestYourselfConfig, TestYourselfConfigShare, TestYourselfConfigUsage, createDatabaseConfigAdapter, testYourselfConfigShares, testYourselfConfigUsage, testYourselfConfigs } from './server/index.js';
import 'drizzle-orm/pg-core';

/**
 * 测测你是什么 - 主组件
 * Test Yourself Game - Main Component
 */

declare const TestYourself: React__default.FC<TestYourselfProps>;

/**
 * 设备指纹生成工具
 * Device Fingerprint Generator
 */

/**
 * 获取设备指纹信息（增强版）
 */
declare function getDeviceFingerprint(): DeviceFingerprint;
/**
 * 尝试获取IP地址
 * 注意：由于浏览器安全限制，直接获取IP地址需要外部API
 */
declare function tryGetIPAddress(): Promise<string | null>;
/**
 * 生成设备唯一标识
 * @param fingerprint 设备指纹
 * @param salt 盐值
 * @returns 唯一标识哈希值
 */
declare function generateDeviceHash(fingerprint: DeviceFingerprint, salt?: string): string;
/**
 * 根据哈希值选择结果索引
 * @param hash 设备哈希值
 * @param totalResults 总结果数
 * @returns 结果索引 (0 到 totalResults-1)
 */
declare function selectResultIndex(hash: string, totalResults: number): number;

/**
 * 默认测试结果数据
 * Default Test Results Data
 *
 * 包含45个预设结果
 */

declare const DEFAULT_RESULTS: TestResult[];

export { DEFAULT_RESULTS, DeviceFingerprint, TestResult, TestYourself, TestYourselfProps, generateDeviceHash, getDeviceFingerprint, selectResultIndex, tryGetIPAddress };
