import { QuestionNode, QuestionGraph, QuestionCategory, QuestionSeverity, QuestionOption, QuestionValidation } from "@myycontext/core";
export interface QuestionGraphEngineConfig {
    brainPath?: string;
}
export declare class QuestionGraphEngine {
    private brainPath;
    private graph;
    constructor(config?: QuestionGraphEngineConfig);
    addQuestion(text: string, severity?: QuestionSeverity, category?: QuestionCategory, source?: string, options?: QuestionOption[], validation?: QuestionValidation, context?: string, dependsOn?: string[]): QuestionNode;
    answerQuestion(id: string, answer: unknown, resolvedBy?: string): boolean;
    skipQuestion(id: string): boolean;
    invalidateQuestion(id: string): boolean;
    getGraph(): QuestionGraph;
    getBlockers(): QuestionNode[];
    getUnanswered(): QuestionNode[];
    isCompilationBlocked(): boolean;
    countBySeverity(): Record<string, number>;
    load(): Promise<void>;
    save(): Promise<void>;
    harvestFromPrompt(prompt: string): Promise<QuestionNode[]>;
    private addQuestionIfNew;
    private getOrCreateGraph;
}
//# sourceMappingURL=QuestionGraphEngine.d.ts.map