import type { Application } from '../../../../declarations'; export interface TrialContext { user: any; daysSinceSignup: number; trialDaysLeft: number; trialActive: boolean; trialExpired: boolean; hasPaidPlan: boolean; ownedTraders: any[]; totalClosedTrades: number; strategyCount: number; backtestCount: number; aiGenerationCount: number; hyperoptCount: number; } export declare function hasEngaged(ctx: TrialContext): boolean; export declare function resolveTrialContext(app: Application, user: any): Promise;