export { M as AGENT_STATUS_COLORS, G as AIDecision, A as AILogType, D as AIPosition, U as AIQuantConsoleOptions, y as AI_LOG_COLORS, V as AgentConsoleOptions, L as AgentStatus, a as BotLogEntry, B as BotLogType, c as BotState, N as CombinedLogEntry, K as ConsoleMetrics, Y as DEFAULT_CONSOLE_METRICS, W as DEFAULT_CONSOLE_OPTIONS, X as DEFAULT_RISK_STATUS, E as DecisionAction, v as FOREX_AGENT, F as FOREX_CAPITAL_SPLIT, h as FOREX_CURRENCY_PAIRS, f as FOREX_CYCLE_OPTIONS, z as FOREX_LOG_COLORS, k as FOREX_POOL_DEFAULTS, u as ForexAgent, g as ForexCurrencyPair, e as ForexCycleOption, p as ForexInvestment, t as ForexLogEntry, s as ForexLogType, j as ForexPool, n as ForexPoolDailySnapshot, m as ForexPoolTransaction, l as ForexPoolTransactionType, i as ForexPoolType, o as ForexPosition, r as ForexTradeRecord, q as ForexTradeStatus, I as IndicatorSnapshot, P as PositionSide, C as PositionStatus, H as RISK_LEVEL_COLORS, R as RiskStatus, S as StrategyPersonality, J as TRADING_STATUS_COLORS, Q as TradingConsoleOptions, O as TradingConsoleState, T as TradingStatus, w as calculateForexNetProfit, Z as calculateRiskLevel, d as computePoolAllocations, x as estimateForexProfit, a5 as formatPercent, _ as formatPnl } from '../console-BoAIxikK.js';

type StrategyCategory$1 = 'conservative' | 'balanced' | 'aggressive' | 'hedge' | 'arbitrage' | 'trend' | 'grid' | 'dca';
type OrderStatus = 'pending' | 'active' | 'paused' | 'completed' | 'cancelled' | 'pending_redemption' | 'redeemed';
type TradeAction$1 = 'buy' | 'sell' | 'long' | 'short' | 'close_long' | 'close_short';
type TradeStatus = 'open' | 'closed' | 'liquidated' | 'cancelled';
type FeeType = 'management' | 'performance' | 'withdrawal' | 'early_redemption_penalty';
type OrderEventType = 'created' | 'activated' | 'paused' | 'resumed' | 'redemption_requested' | 'redeemed' | 'cancelled' | 'fee_deducted' | 'profit_realized';
interface AIStrategyConfig {
    id: string;
    name: string;
    description: string | null;
    category: StrategyCategory$1;
    riskLevel: 1 | 2 | 3 | 4 | 5;
    minInvestment: number;
    maxInvestment: number | null;
    lockPeriodDays: number;
    expectedApyMin: number | null;
    expectedApyMax: number | null;
    managementFeeRate: number;
    performanceFeeRate: number;
    supportedPairs: string[];
    supportedChains: string[];
    supportedCurrencies: string[];
    leverageMin: number;
    leverageMax: number;
    isActive: boolean;
}
interface AIOrderCreateInput {
    strategyId: string;
    amount: number;
    currency: string;
    chain: string;
    lockPeriodDays: number;
}
interface AIOrderSummary {
    orderId: string;
    strategyId: string;
    strategyName: string;
    amount: number;
    currentValue: number;
    profit: number;
    profitPercent: number;
    status: OrderStatus;
    daysRemaining: number;
    lockProgress: number;
}
interface AITradeLog {
    id: string;
    timestamp: string;
    action: TradeAction$1;
    pair: string;
    entryPrice: number;
    exitPrice: number | null;
    amount: number;
    pnl: number;
    pnlPercent: number;
    leverage: number;
    status: TradeStatus;
    aiConfidence: number | null;
    aiReasoning: string | null;
}
interface AIPenaltyCalculation {
    completionRate: number;
    penaltyRate: number;
    estimatedPenalty: number;
    estimatedRedemption: number;
    isEarlyWithdrawal: boolean;
}
interface AIPerformanceChart {
    date: string;
    nav: number;
    dailyPnl: number;
    cumulativePnl: number;
}
declare const PENALTY_TIERS: readonly [{
    readonly minProgress: 0.75;
    readonly maxProgress: 1;
    readonly rate: 0.5;
    readonly label: "50%";
}, {
    readonly minProgress: 0.5;
    readonly maxProgress: 0.75;
    readonly rate: 0.6;
    readonly label: "60%";
}, {
    readonly minProgress: 0.25;
    readonly maxProgress: 0.5;
    readonly rate: 0.7;
    readonly label: "70%";
}, {
    readonly minProgress: 0;
    readonly maxProgress: 0.25;
    readonly rate: 0.8;
    readonly label: "80%";
}];
declare function calculateEarlyWithdrawalPenalty(investedAmount: number, profit: number, lockProgress: number): AIPenaltyCalculation;
declare const STRATEGY_CATEGORIES: Record<StrategyCategory$1, {
    labelKey: string;
    color: string;
    icon: string;
}>;
declare const RISK_LEVELS: Record<number, {
    labelKey: string;
    color: string;
    bgColor: string;
}>;
declare const ORDER_STATUS_CONFIG: Record<OrderStatus, {
    labelKey: string;
    color: string;
    bgColor: string;
}>;

interface User {
    id: string;
    email: string;
    walletAddress: string | null;
    smartAccountAddress: string | null;
    kycStatus: KycStatus;
    kycLevel: KycLevel;
    membershipTier: MembershipTier;
    createdAt: string;
}
type KycStatus = 'none' | 'pending' | 'verified' | 'rejected';
type KycLevel = 0 | 1 | 2 | 3;
type MembershipTier = 'basic' | 'premium' | 'pro';
interface UserProfile {
    id: string;
    userId: string;
    displayName: string | null;
    avatarUrl: string | null;
    phoneNumber: string | null;
    country: string | null;
    kycStatus: KycStatus;
    kycLevel: KycLevel;
    membershipTier: MembershipTier;
}
interface UserSettings {
    userId: string;
    language: string;
    currency: string;
    theme: 'light' | 'dark' | 'system';
    notifications: NotificationSettings;
}
interface NotificationSettings {
    push: boolean;
    email: boolean;
    sms: boolean;
    transactions: boolean;
    marketing: boolean;
}
interface Token {
    id: string;
    symbol: string;
    name: string;
    icon: string;
    balance: number;
    balanceUsd?: number;
    price: number;
    value: number;
    change24h: number;
    priceChange24h?: number;
    chainId?: number;
    chain: string;
    chainName?: string;
    chainIcon?: string;
    contractAddress?: string;
    address?: string;
    decimals?: number;
}
interface WalletBalance {
    totalUsd: number;
    change24h: number;
    changePercent24h: number;
    tokens: Token[];
}
interface OnChainBalance {
    tokenAddress: string | null;
    tokenSymbol: string;
    tokenDecimals: number;
    balance: string;
    balanceFormatted: string;
    chain: string;
    chainId: number;
}
interface TokenPrice {
    symbol: string;
    price: number;
    change24h: number;
    changePercent24h: number;
    priceChange24h?: number;
    marketCap?: number;
    volume24h?: number;
    updatedAt?: string;
}
type TransactionType = 'send' | 'receive' | 'swap' | 'buy' | 'sell' | 'deposit' | 'withdraw' | 'bridge';
type TransactionStatus = 'pending' | 'confirmed' | 'failed' | 'completed';
interface Transaction {
    id: string;
    type: TransactionType;
    status: TransactionStatus;
    amount: number;
    symbol?: string;
    tokenSymbol?: string;
    tokenName?: string;
    amountUsd?: number;
    from?: string;
    to?: string;
    fromAddress?: string;
    toAddress?: string;
    txHash?: string | null;
    chainId?: number;
    chain?: string;
    timestamp: string;
    fee?: number;
    note?: string | null;
}
type StrategyCategory = 'conservative' | 'balanced' | 'aggressive' | 'hedge' | 'arbitrage' | 'trend' | 'grid' | 'dca';
type AIOrderStatus = 'pending' | 'active' | 'paused' | 'completed' | 'cancelled' | 'pending_redemption' | 'redeemed';
type TradeAction = 'buy' | 'sell' | 'long' | 'short' | 'close_long' | 'close_short';
type RiskLevel = 'conservative' | 'moderate' | 'aggressive';
interface AIStrategy {
    id: string;
    name: string;
    description: string | null;
    category: StrategyCategory;
    riskLevel: number;
    minInvestment: number;
    maxInvestment: number | null;
    lockPeriodDays: number;
    expectedApyMin: number | null;
    expectedApyMax: number | null;
    managementFeeRate: number;
    performanceFeeRate: number;
    supportedPairs: string[];
    supportedChains: string[];
    leverageMin: number;
    leverageMax: number;
    isActive: boolean;
    tvl: number;
    totalUsers: number;
    totalTrades: number;
    winRate: number;
    maxDrawdown: number;
    sharpeRatio: number;
    currentNav: number;
    createdAt: string;
    metadata?: Record<string, unknown>;
}
interface AIOrder {
    id: string;
    userId: string;
    strategyId: string;
    strategyName?: string;
    amount: number;
    currency: string;
    chain: string;
    status: AIOrderStatus;
    startDate: string;
    lockEndDate: string;
    lockPeriodDays: number;
    pauseCount: number;
    totalPauseDays: number;
    currentPauseStart: string | null;
    realizedProfit: number;
    unrealizedProfit: number;
    totalFeesPaid: number;
    currentNav: number | null;
    shareRatio: number;
    shares: number;
    redemptionRequestedAt: string | null;
    redemptionAmount: number | null;
    earlyWithdrawalPenaltyRate: number | null;
    penaltyAmount: number;
    txHashDeposit: string | null;
    txHashRedemption: string | null;
    createdAt: string;
    updatedAt: string;
}
interface AITradeExecution {
    id: string;
    batchId: string;
    strategyId: string;
    tradeSeq: number;
    action: TradeAction;
    pair: string;
    entryPrice: number;
    exitPrice: number | null;
    amount: number;
    leverage: number;
    pnl: number;
    pnlPct: number;
    fee: number;
    status: 'open' | 'closed' | 'liquidated' | 'cancelled';
    openedAt: string;
    closedAt: string | null;
    aiConfidence: number | null;
    aiReasoning: string | null;
    externalOrderId: string | null;
    metadata?: Record<string, unknown>;
}
interface AITradeAllocation {
    id: string;
    executionId: string;
    orderId: string;
    userId: string;
    allocatedAmount: number;
    allocatedPnl: number;
    allocatedFee: number;
    shareRatio: number;
    createdAt: string;
}
interface AINavSnapshot {
    id: string;
    strategyId: string;
    snapshotDate: string;
    nav: number;
    dailyPnl: number;
    dailyPnlPct: number;
    cumulativePnl: number;
    cumulativePnlPct: number;
    totalAum: number;
    createdAt: string;
}
interface AIPortfolioSummary {
    userId: string;
    totalInvested: number;
    currentValue: number;
    totalPnl: number;
    totalPnlPct: number;
    realizedPnl: number;
    unrealizedPnl: number;
    totalFeesPaid: number;
    activeOrders: number;
    strategies: Array<{
        strategyId: string;
        strategyName: string;
        invested: number;
        currentValue: number;
        pnl: number;
        pnlPct: number;
    }>;
}
interface AIRedemptionResult {
    success: boolean;
    redemptionAmount: number;
    penaltyRate: number;
    penaltyAmount: number;
    completionRate: number;
    finalAmount: number;
}
interface AIMarketData {
    symbol: string;
    price: number;
    change24h: number;
    volume24h: number;
    high24h: number;
    low24h: number;
}
interface CreateAIOrderRequest {
    strategyId: string;
    amount: number;
    currency?: string;
    chain?: string;
    lockPeriodDays?: number;
    txHashDeposit?: string;
}
interface Position {
    id: string;
    strategyId: string;
    strategyName: string;
    status: 'active' | 'paused' | 'closed' | 'pending';
    investedAmount: number;
    currentValue: number;
    pnl: number;
    pnlPercent: number;
    entryDate: string;
    exitDate?: string;
}
type CardStatus = 'pending' | 'active' | 'frozen' | 'cancelled';
type CardTier = 'standard' | 'gold' | 'platinum' | 'black';
interface Card {
    id: string;
    tier: CardTier;
    status: CardStatus;
    lastFour: string;
    expiryDate: string;
    balance?: number;
    spendLimit: number;
    spentThisMonth: number;
    cardNumber?: string;
}
interface CardTransaction {
    id: string;
    cardId: string;
    merchant: string;
    category: string;
    amount: number;
    currency: string;
    timestamp: string;
    status: 'pending' | 'completed' | 'declined';
}
interface Notification {
    id: string;
    type: 'transaction' | 'security' | 'promotion' | 'system';
    title: string;
    message: string;
    read: boolean;
    timestamp: string;
    actionUrl?: string;
}
interface ApiResponse<T> {
    success: boolean;
    data?: T;
    error?: {
        code: string;
        message: string;
    };
}
interface ChainConfig {
    id: number;
    name: string;
    shortName: string;
    icon: string;
    nativeCurrency: {
        name: string;
        symbol: string;
        decimals: number;
    };
    rpcUrls: string[];
    blockExplorerUrls: string[];
    testnet: boolean;
}
interface NFT {
    id: string;
    tokenId: string;
    contractAddress: string;
    chainId: number;
    chain: string;
    name: string;
    description?: string;
    image?: string;
    imageUrl?: string;
    thumbnailUrl?: string;
    animationUrl?: string;
    tokenType: 'ERC721' | 'ERC1155';
    metadata?: Record<string, any>;
    attributes?: NFTAttribute[];
    owner: string;
    collection?: NFTCollection;
    floorPrice?: number;
    lastPrice?: number;
}
interface NFTAttribute {
    traitType: string;
    value: string | number;
    displayType?: string;
    maxValue?: number;
}
interface NFTCollection {
    address: string;
    name: string;
    symbol?: string;
    description?: string;
    image?: string;
    bannerImage?: string;
    chainId: number;
    totalSupply?: number;
    floorPrice?: number;
    verified?: boolean;
}
interface NFTTransfer {
    id: string;
    type: 'mint' | 'transfer' | 'sale' | 'burn';
    from: string;
    to: string;
    tokenId: string;
    contractAddress: string;
    transactionHash: string;
    timestamp: string;
    price?: number;
    currency?: string;
}
interface Contract {
    id: string;
    address: string;
    chainId: number;
    name: string;
    symbol?: string;
    contractType: ContractType;
    abi?: any[];
    verified?: boolean;
    deployedAt?: string;
    deployer?: string;
}
type ContractType = 'erc20' | 'erc721' | 'erc1155' | 'custom' | 'marketplace' | 'staking' | 'governance';
interface ContractReadParams {
    contractAddress: string;
    chainId: number;
    functionName: string;
    args?: any[];
}
interface ContractWriteParams {
    contractAddress: string;
    chainId: number;
    functionName: string;
    args?: any[];
    value?: string;
    gasLimit?: string;
}
interface ContractDeployParams {
    chainId: number;
    contractType: string;
    name: string;
    symbol?: string;
    constructorArgs?: any[];
    metadata?: Record<string, any>;
}
interface BillProvider {
    id: string;
    name: string;
    category: BillCategory;
    icon?: string;
    countries: string[];
    minAmount: number;
    maxAmount: number;
    fees: number;
}
type BillCategory = 'electricity' | 'water' | 'gas' | 'internet' | 'phone' | 'tv' | 'insurance' | 'tax' | 'other';
interface BillPayment {
    id: string;
    providerId: string;
    providerName: string;
    category: BillCategory;
    accountNumber: string;
    amount: number;
    currency: string;
    status: 'pending' | 'processing' | 'completed' | 'failed';
    reference?: string;
    createdAt: string;
    completedAt?: string;
}
interface OfframpQuote {
    provider: string;
    cryptoCurrency: string;
    cryptoAmount: number;
    fiatCurrency: string;
    fiatAmount: number;
    rate: number;
    fees: {
        network: number;
        provider: number;
        total: number;
    };
    payoutMethod: string;
    estimatedTime: string;
}
interface OfframpRequest {
    cryptoCurrency: string;
    cryptoAmount: number;
    fiatCurrency: string;
    payoutMethod: string;
    payoutDetails: Record<string, string>;
}
interface OfframpTransaction {
    id: string;
    status: 'pending' | 'processing' | 'completed' | 'failed';
    cryptoAmount: number;
    cryptoCurrency: string;
    fiatAmount: number;
    fiatCurrency: string;
    txHash?: string;
    payoutReference?: string;
    createdAt: string;
    completedAt?: string;
}
interface StakingPool {
    id: string;
    name: string;
    token: string;
    rewardToken: string;
    chainId: number;
    apy: number;
    totalStaked: number;
    minStake: number;
    lockPeriod: number;
    status: 'active' | 'paused' | 'ended';
}
interface StakingPosition {
    id: string;
    poolId: string;
    poolName: string;
    stakedAmount: number;
    rewardsEarned: number;
    startDate: string;
    unlockDate?: string;
    status: 'active' | 'unlocked' | 'withdrawn';
}
interface ReferralInfo {
    code: string;
    link: string;
    totalReferrals: number;
    totalEarnings: number;
    pendingEarnings: number;
    tier: 'bronze' | 'silver' | 'gold' | 'platinum';
}
interface Referral {
    id: string;
    referredUserId: string;
    status: 'pending' | 'active' | 'rewarded';
    earnings: number;
    createdAt: string;
}
interface BridgeQuote {
    quoteId: string;
    fromChainId: number;
    toChainId: number;
    fromToken: string;
    toToken: string;
    fromAmount: string;
    toAmount: string;
    estimatedTime: string;
    fees: {
        bridge: number;
        gas: number;
        total: number;
    };
    route: BridgeRoute[];
    expiresAt: string;
}
interface BridgeRoute {
    protocol: string;
    fromChain: string;
    toChain: string;
    estimatedTime: string;
}
interface BridgeTransaction {
    id: string;
    status: 'pending' | 'source_confirmed' | 'bridging' | 'completed' | 'failed';
    fromChainId: number;
    toChainId: number;
    fromAmount: string;
    toAmount?: string;
    sourceTxHash?: string;
    destinationTxHash?: string;
    createdAt: string;
    completedAt?: string;
}
interface GasEstimate {
    gasLimit: string;
    gasPrice: string;
    maxFeePerGas?: string;
    maxPriorityFeePerGas?: string;
    estimatedCostWei: string;
    estimatedCostUsd: number;
}
interface GasPrice {
    chainId: number;
    slow: {
        gasPrice: string;
        estimatedTime: string;
    };
    standard: {
        gasPrice: string;
        estimatedTime: string;
    };
    fast: {
        gasPrice: string;
        estimatedTime: string;
    };
    baseFee?: string;
}
interface WalletExport {
    address: string;
    encryptedPrivateKey?: string;
    mnemonic?: string;
    publicKey: string;
    chainId: number;
    type: 'eoa' | 'smart' | 'imported';
}
interface WalletImportRequest {
    privateKey?: string;
    mnemonic?: string;
    chainId?: number;
    label?: string;
}
interface Session {
    userId: string;
    accessToken: string;
    refreshToken: string;
    expiresAt: string;
    deviceId?: string;
}
interface PortfolioHistory {
    date: string;
    totalValue: number;
    change: number;
    changePercent: number;
}
interface AssetAllocation {
    category: string;
    value: number;
    percentage: number;
    tokens: {
        symbol: string;
        value: number;
        percentage: number;
    }[];
}
interface PortfolioAnalytics {
    totalValue: number;
    allTimeProfit: number;
    allTimeProfitPercent: number;
    bestPerformer: {
        symbol: string;
        change: number;
    };
    worstPerformer: {
        symbol: string;
        change: number;
    };
    history: PortfolioHistory[];
    allocation: AssetAllocation[];
}
interface TradingCondition {
    type: 'stop_loss' | 'take_profit' | 'trailing_stop';
    triggerPrice: number;
    triggerPercent?: number;
    action: 'sell' | 'notify';
}
interface LimitOrder {
    id: string;
    type: 'buy' | 'sell';
    tokenSymbol: string;
    amount: number;
    limitPrice: number;
    status: 'pending' | 'filled' | 'cancelled' | 'expired';
    conditions?: TradingCondition[];
    createdAt: string;
    expiresAt?: string;
}
type SDKEventType = 'auth:login' | 'auth:logout' | 'wallet:connected' | 'wallet:disconnected' | 'transaction:pending' | 'transaction:confirmed' | 'transaction:failed' | 'balance:updated' | 'price:updated' | 'notification:received';
interface SDKEvent {
    type: SDKEventType;
    payload: any;
    timestamp: string;
}
type Permission = 'wallet:read' | 'wallet:write' | 'wallet:sign' | 'trade:read' | 'trade:execute' | 'profile:read' | 'profile:write' | 'admin:all';
interface PermissionScope {
    permissions: Permission[];
    expiresAt?: string;
}
type WebhookEventType = 'user.created' | 'user.updated' | 'wallet.created' | 'transaction.pending' | 'transaction.confirmed' | 'transaction.failed' | 'payment.created' | 'payment.paid' | 'payment.failed' | 'position.opened' | 'position.closed' | 'order.filled' | 'strategy.signal';
interface Webhook {
    id: string;
    projectId: string;
    url: string;
    events: WebhookEventType[];
    secret?: string;
    isActive: boolean;
    metadata?: Record<string, unknown>;
    createdAt: string;
    updatedAt: string;
}
interface WebhookDelivery {
    id: string;
    webhookId: string;
    event: WebhookEventType;
    payload: unknown;
    status: 'pending' | 'success' | 'failed';
    statusCode?: number;
    responseTime?: number;
    error?: string;
    attempts: number;
    createdAt: string;
    deliveredAt?: string;
}
interface CreateWebhookInput {
    url: string;
    events: WebhookEventType[];
    secret?: string;
    isActive?: boolean;
    metadata?: Record<string, unknown>;
}
interface UpdateWebhookInput {
    url?: string;
    events?: WebhookEventType[];
    secret?: string;
    isActive?: boolean;
    metadata?: Record<string, unknown>;
}
interface AdminUser {
    id: string;
    email?: string;
    phone?: string;
    role: 'user' | 'admin';
    kycStatus: 'none' | 'pending' | 'verified' | 'rejected';
    isActive: boolean;
    walletCount: number;
    createdAt: string;
    lastActiveAt?: string;
}
interface AdminProject {
    id: string;
    name: string;
    slug: string;
    ownerId: string;
    ownerEmail?: string;
    apiKey: string;
    isActive: boolean;
    settings: Record<string, unknown>;
    createdAt: string;
    updatedAt: string;
}
interface SystemStats {
    overview: {
        totalUsers: number;
        newUsers: number;
        totalWallets: number;
        totalTransactions: number;
        totalProjects: number;
        totalStrategies: number;
        activePositions: number;
        totalPayments: number;
        fiatVolume: number;
    };
    userGrowth: Array<{
        date: string;
        count: number;
    }>;
    chainVolume: Array<{
        chainId: number;
        count: number;
    }>;
    kycBreakdown: Record<string, number>;
    period: {
        days: number;
        startDate: string;
        endDate: string;
    };
}
interface PaginatedResult<T> {
    data: T[];
    total: number;
    page: number;
    limit: number;
    totalPages: number;
}
interface AdminListOptions {
    page?: number;
    limit?: number;
    search?: string;
    sortBy?: string;
    sortOrder?: 'asc' | 'desc';
}
interface SystemLog {
    id: string;
    level: 'info' | 'warn' | 'error';
    service: string;
    message: string;
    metadata?: Record<string, unknown>;
    createdAt: string;
}
interface RateLimitInfo {
    identifier: string;
    endpoint: string;
    count: number;
    windowStart: string;
    windowEnd: string;
}
interface AIAgentTier {
    tier: number;
    amount: number;
    label: string;
    label_zh?: string;
}
interface AIAgentCycleParams {
    cycle: number;
    lockDays: number;
    shareRate: number;
    expectedApy: number;
    managementFee: number;
    performanceFee: number;
}
interface AIAgent {
    id: string;
    name: string;
    name_zh?: string;
    description: string;
    description_zh?: string;
    category: StrategyCategory;
    risk_level: 1 | 2 | 3 | 4 | 5;
    icon: string;
    color: string;
    tiers: AIAgentTier[];
    supported_cycles: number[];
    default_cycle: number;
    supported_pairs: string[];
    supported_chains: string[];
    is_active: boolean;
    preview?: {
        tier: AIAgentTier;
        cycle: number;
        lockDays: number;
        shareRate: number;
        expectedApy: number;
        managementFee: number;
        performanceFee: number;
    };
    tierParams?: Array<{
        tier: number;
        amount: number;
        label: string;
        label_zh?: string;
        cycles: AIAgentCycleParams[];
    }>;
}
interface AIAgentPerformance {
    agentId: string;
    date: string;
    nav: number;
    dailyPnl: number;
    dailyPnlPct: number;
    cumulativePnl: number;
    cumulativePnlPct: number;
    tradesOpened: number;
    tradesClosed: number;
    winRate: number;
    sharpeRatio: number;
}
interface AIAgentTrade {
    id: string;
    agentId: string;
    symbol: string;
    side: 'long' | 'short';
    entryPrice: number;
    exitPrice?: number;
    quantity: number;
    leverage: number;
    pnl: number;
    pnlPct: number;
    status: 'open' | 'closed';
    entryReason: string;
    exitReason?: string;
    confidence: number;
    openedAt: string;
    closedAt?: string;
}
interface AIAgentSubscriptionParams {
    agentId: string;
    tier: number;
    cycle: number;
    amount: number;
    lockDays: number;
    shareRate: number;
    expectedApy: number;
    managementFee: number;
    performanceFee: number;
}

export { type AIAgent, type AIAgentCycleParams, type AIAgentPerformance, type AIAgentSubscriptionParams, type AIAgentTier, type AIAgentTrade, type AIMarketData, type AINavSnapshot, type AIOrder, type AIOrderCreateInput, type AIOrderStatus, type AIOrderSummary, type AIPenaltyCalculation, type AIPerformanceChart, type AIPortfolioSummary, type AIRedemptionResult, type AIStrategy, type AIStrategyConfig, type AITradeAllocation, type AITradeExecution, type AITradeLog, type AdminListOptions, type AdminProject, type AdminUser, type ApiResponse, type AssetAllocation, type BillCategory, type BillPayment, type BillProvider, type BridgeQuote, type BridgeRoute, type BridgeTransaction, type Card, type CardStatus, type CardTier, type CardTransaction, type ChainConfig, type Contract, type ContractDeployParams, type ContractReadParams, type ContractType, type ContractWriteParams, type CreateAIOrderRequest, type CreateWebhookInput, type FeeType, type GasEstimate, type GasPrice, type KycLevel, type KycStatus, type LimitOrder, type MembershipTier, type NFT, type NFTAttribute, type NFTCollection, type NFTTransfer, type Notification, type NotificationSettings, ORDER_STATUS_CONFIG, type OfframpQuote, type OfframpRequest, type OfframpTransaction, type OnChainBalance, type OrderEventType, type OrderStatus, PENALTY_TIERS, type PaginatedResult, type Permission, type PermissionScope, type PortfolioAnalytics, type PortfolioHistory, type Position, RISK_LEVELS, type RateLimitInfo, type Referral, type ReferralInfo, type RiskLevel, type SDKEvent, type SDKEventType, STRATEGY_CATEGORIES, type Session, type StakingPool, type StakingPosition, type StrategyCategory, type SystemLog, type SystemStats, type Token, type TokenPrice, type TradeAction, type TradeStatus, type TradingCondition, type Transaction, type TransactionStatus, type TransactionType, type UpdateWebhookInput, type User, type UserProfile, type UserSettings, type WalletBalance, type WalletExport, type WalletImportRequest, type Webhook, type WebhookDelivery, type WebhookEventType, calculateEarlyWithdrawalPenalty };
