export interface QuestStepDef { id: string; narrative: string; prompt: string; verify: (project: string) => boolean; branches?: Record; nextId?: string; } export interface QuestDef { id: string; title: string; subtitle: string; emoji: string; estimatedMinutes: number; steps: QuestStepDef[]; rewardAchievement: string; rewardMessage: string; } export interface QuestState { questId: string; project: string; currentStepId: string; startedAt: number; completedAt?: number; completedSteps: string[]; branchHistory: Array<{ stepId: string; choice: string; ts: number; }>; } export declare class BrainQuest { private quests; private states; constructor(); availableQuests(): QuestDef[]; start(questId: string, project: string): Promise; current(project: string): QuestState | null; step(project: string, choice?: string): Promise<{ state: QuestState; narrative: string; options?: string[]; complete?: boolean; reward?: { achievementId?: string; message: string; }; }>; reset(project: string): void; private registerQuests; private defaultNext; private unlockTrophy; private loadFile; private persist; } export declare function getBrainQuest(): BrainQuest; export declare function resetBrainQuestForTests(): void; //# sourceMappingURL=brain-quest.d.ts.map