/**
 * 凭证管理模块主入口
 */

// 核心类型
export * from './core/types';
export type { ManagerStats } from './core/types';

// 主要接口
export { ICredentialManager, CredentialManager } from './core/CredentialManager';
export { ICredentialManagerFactory, CredentialManagerFactory } from './core/CredentialManagerFactory';

// 配置加载器
export { IConfigLoader, ConfigLoader } from './loaders/ConfigLoader';

// 签名器
export { ISigner, Signer, ISignerStrategy } from './core/Signer';

// 平台检测
export {
  IPlatformDetector,
  IPlatformDetectionService,
  PlatformDetectionService,
  BaseDetector
} from './core/PlatformDetector';

// 账户模型
export { AccountEntity, createAccount, createAccountFromConfig } from './core/Account';

// Pacifica平台
export {
  IPacificaSigner,
  PacificaSigner,
  PacificaOrderType,
  PacificaSignRequest,
  PacificaSignResponse,
  PacificaVerifyRequest,
  PacificaVerifyResponse,
  PacificaSignOptions,
  PacificaOrderMessage,
  PacificaCancelMessage,
  PACIFICA_CONSTANTS
} from './platforms/pacifica/PacificaSigner';
export { PacificaDetector } from './platforms/pacifica/PacificaDetector';

// 其他平台检测器
export { AsterDetector } from './platforms/aster/AsterDetector';
export { BinanceDetector } from './platforms/binance/BinanceDetector';

// 全局管理器
export { GlobalCredentialManager, getGlobalCredentialManager } from './core/GlobalCredentialManager';