/**
 * 🤖 Claude-Inspired Todo Engine - Championship Gamification System
 *
 * PORTABLE ARCHITECTURE:
 * - Pure TypeScript core (no CLI dependencies)
 * - Works in: Node.js CLI, Browser/Svelte, API endpoints
 * - Pluggable scoring algorithms
 * - Event-driven progress tracking
 *
 * DESIGN PHILOSOPHY:
 * Turn low AI context scores into exciting improvement games
 * with Claude-inspired todo lists and celebration systems.
 */
export interface TodoItem {
    id: string;
    title: string;
    description: string;
    impact: number;
    difficulty: 'easy' | 'medium' | 'hard';
    category: 'documentation' | 'structure' | 'context' | 'quality' | 'examples';
    completed: boolean;
    completedAt?: Date;
    estimatedMinutes: number;
    aiPersonality: 'claude' | 'chatgpt' | 'gemini' | 'universal';
}
export interface TodoList {
    id: string;
    projectId: string;
    currentScore: number;
    targetScore: number;
    items: TodoItem[];
    createdAt: Date;
    updatedAt: Date;
    completedAt?: Date;
}
export interface ScoreImprovement {
    before: number;
    after: number;
    improvement: number;
    taskCompleted: string;
    celebrationLevel: 'minor' | 'major' | 'championship';
}
export interface TodoGenerationContext {
    currentScore: number;
    projectType: string;
    missingSlots: string[];
    existingFiles: string[];
    techStack: Record<string, any>;
    aiPreference?: 'claude' | 'chatgpt' | 'gemini';
}
export declare class ClaudeTodoEngine {
    private todoDatabase;
    private completionCallbacks;
    constructor();
    /**
     * Generate contextual todo list based on current score and missing context
     */
    generateTodoList(context: TodoGenerationContext): TodoList;
    /**
     * Complete a todo item and calculate score improvement
     */
    completeTask(todoList: TodoList, taskId: string, newProjectScore: number): ScoreImprovement;
    /**
     * Subscribe to completion events (for UI updates, celebrations, etc.)
     */
    onTaskCompletion(callback: (improvement: ScoreImprovement) => void): void;
    /**
     * Get progress statistics
     */
    getProgress(todoList: TodoList): {
        completed: number;
        total: number;
        percentage: number;
        remainingPoints: number;
        estimatedMinutes: number;
    };
    private initializeTodoDatabase;
    private addTaskTemplate;
    private getRelevantTasks;
    private isTaskRelevant;
    private optimizeTaskSelection;
    private calculateTargetScore;
    private calculateCelebrationLevel;
    private generateId;
}
/**
 * Factory function for creating Claude Todo Engine instances
 * Works in both Node.js and browser environments
 */
export declare function createClaudeTodoEngine(): ClaudeTodoEngine;
/**
 * Utility functions for platform-specific integrations
 */
export declare const TodoEngineUtils: {
    /**
     * Format progress for CLI output
     */
    formatProgressCLI(progress: ReturnType<ClaudeTodoEngine["getProgress"]>): string;
    /**
     * Format progress for Svelte reactive stores
     */
    formatProgressSvelte(progress: ReturnType<ClaudeTodoEngine["getProgress"]>): {
        completed: number;
        total: number;
        percentage: number;
        remainingPoints: number;
        estimatedMinutes: number;
        isComplete: boolean;
    };
    /**
     * Generate celebration message based on improvement
     */
    generateCelebration(improvement: ScoreImprovement): string;
};
//# sourceMappingURL=claude-todo-engine.d.ts.map