import type { ActiveRun, KdFact, KdQuestion } from "./types.ts"; export declare function formatQuestionMemory(run: ActiveRun): string; export declare function formatAnsweredQuestionFacts(run: ActiveRun): string; export declare function formatCurrentFacts(run: ActiveRun): string; export declare function currentFactsForRun(run: ActiveRun): KdFact[]; export declare function rejectedFactsForRun(run: ActiveRun): KdFact[]; export declare function currentFactForLabel(run: ActiveRun, label: string): KdFact | undefined; export declare function hasCurrentFactForLabel(run: ActiveRun, label: string): boolean; export declare function factFromAnsweredQuestion(question: KdQuestion, now?: string): KdFact | undefined; export declare function inferFactLabelFromQuestion(question: string): string | undefined; export declare function questionFactLabelMismatchReason(input: { question: string; factLabel?: string; }): string | undefined; export declare function invalidFactValueReason(value: string): string | undefined; export declare function invalidConfirmationAnswerReason(value: string): string | undefined; export declare function factKey(label: string): string; export declare function upsertFact(facts: KdFact[] | undefined, next: KdFact): KdFact[];