import type { KnowledgeStore } from '../store.js';
import type { KnowledgeNodeRecord, KnowledgeSourceRecord } from '../types.js';
import type { KnowledgeObjectProfilePolicy } from '../extensions.js';
export interface AnswerObjectScope {
    readonly anchorNodeIds: ReadonlySet<string>;
    readonly linkedSourceIds: ReadonlySet<string>;
    readonly anchorText: readonly string[];
}
export declare function inferAnswerObjectScopeForQuery(store: KnowledgeStore, spaceId: string, query: string, objectProfiles?: readonly KnowledgeObjectProfilePolicy[]): AnswerObjectScope | null;
export declare function inferAnswerObjectScope(store: KnowledgeStore, spaceId: string, query: string, subjectTokens: readonly string[], objectProfiles?: readonly KnowledgeObjectProfilePolicy[]): AnswerObjectScope | null;
export declare function sourceInAnswerObjectScope(store: KnowledgeStore, source: KnowledgeSourceRecord, scope: AnswerObjectScope | null): boolean;
export declare function nodeInAnswerObjectScope(node: KnowledgeNodeRecord, scope: AnswerObjectScope | null): boolean;
//# sourceMappingURL=object-scope.d.ts.map