import type { KnowledgeStore } from '../store.js';
import type { KnowledgeNodeRecord, KnowledgeSourceRecord } from '../types.js';
import type { KnowledgeSemanticGapInput } from './types.js';
export declare function shouldPersistNoMatchGap(spaceId: string, query: string, linkedObjects: readonly KnowledgeNodeRecord[]): boolean;
export declare function persistAnswerGap(store: KnowledgeStore, spaceId: string, query: string, reason: string, context?: {
    readonly subject?: string | undefined;
    readonly sources?: readonly KnowledgeSourceRecord[] | undefined;
    readonly linkedObjects?: readonly KnowledgeNodeRecord[] | undefined;
}): Promise<KnowledgeNodeRecord>;
export declare function persistAnswerGaps(store: KnowledgeStore, spaceId: string, query: string, gaps: readonly KnowledgeSemanticGapInput[], context?: {
    readonly sources?: readonly KnowledgeSourceRecord[] | undefined;
    readonly linkedObjects?: readonly KnowledgeNodeRecord[] | undefined;
}): Promise<readonly KnowledgeNodeRecord[]>;
export declare function isRepairedAnswerGap(node: KnowledgeNodeRecord): boolean;
//# sourceMappingURL=answer-gaps.d.ts.map