import type { KnowledgeEdgeRecord, KnowledgeItemView, KnowledgeIssueRecord, KnowledgeJobRunRecord, KnowledgeRefinementTaskRecord, KnowledgeNodeRecord, KnowledgeScheduleRecord, KnowledgeSourceRecord, KnowledgeStatus, KnowledgeUsageRecord, KnowledgeConsolidationCandidateRecord, KnowledgeConsolidationReportRecord, KnowledgeExtractionRecord } from './types.js';
export interface KnowledgeStoreReadView {
    readonly ready: boolean;
    readonly dbPath: string;
    readonly sources: Map<string, KnowledgeSourceRecord>;
    readonly nodes: Map<string, KnowledgeNodeRecord>;
    readonly edges: Map<string, KnowledgeEdgeRecord>;
    readonly issues: Map<string, KnowledgeIssueRecord>;
    readonly extractions: Map<string, KnowledgeExtractionRecord>;
    readonly jobRuns: Map<string, KnowledgeJobRunRecord>;
    readonly refinementTasks: Map<string, KnowledgeRefinementTaskRecord>;
    readonly usageRecords: Map<string, KnowledgeUsageRecord>;
    readonly consolidationCandidates: Map<string, KnowledgeConsolidationCandidateRecord>;
    readonly consolidationReports: Map<string, KnowledgeConsolidationReportRecord>;
    readonly schedules: Map<string, KnowledgeScheduleRecord>;
}
export declare function getKnowledgeStoreStatus(view: KnowledgeStoreReadView): KnowledgeStatus;
export declare function listKnowledgeSources(view: KnowledgeStoreReadView, limit?: number): KnowledgeSourceRecord[];
export declare function listKnowledgeNodes(view: KnowledgeStoreReadView, limit?: number): KnowledgeNodeRecord[];
export declare function listKnowledgeNodesInSpace(view: KnowledgeStoreReadView, spaceId: string): KnowledgeNodeRecord[];
export declare function listKnowledgeEdges(view: KnowledgeStoreReadView): KnowledgeEdgeRecord[];
export declare function listKnowledgeSourcesInSpace(view: KnowledgeStoreReadView, spaceId: string): KnowledgeSourceRecord[];
export declare function listKnowledgeIssues(view: KnowledgeStoreReadView, limit?: number): KnowledgeIssueRecord[];
export declare function listKnowledgeIssuesInSpace(view: KnowledgeStoreReadView, spaceId: string): KnowledgeIssueRecord[];
export declare function listKnowledgeExtractions(view: KnowledgeStoreReadView, limit?: number): KnowledgeExtractionRecord[];
export declare function listKnowledgeExtractionsInSpace(view: KnowledgeStoreReadView, spaceId: string): KnowledgeExtractionRecord[];
export declare function listKnowledgeExtractionsForSources(view: KnowledgeStoreReadView, sourceIds: ReadonlySet<string>): KnowledgeExtractionRecord[];
export declare function listKnowledgeJobRuns(view: KnowledgeStoreReadView, limit?: number, jobId?: string): KnowledgeJobRunRecord[];
export declare function listKnowledgeRefinementTasks(view: KnowledgeStoreReadView, limit?: number, input?: {
    readonly spaceId?: string | undefined;
    readonly state?: string | undefined;
    readonly subjectKind?: string | undefined;
    readonly subjectId?: string | undefined;
    readonly gapId?: string | undefined;
}): KnowledgeRefinementTaskRecord[];
export declare function listKnowledgeUsageRecords(view: KnowledgeStoreReadView, limit?: number, input?: {
    readonly targetKind?: KnowledgeUsageRecord['targetKind'] | undefined;
    readonly targetId?: string | undefined;
    readonly usageKind?: KnowledgeUsageRecord['usageKind'] | undefined;
}): KnowledgeUsageRecord[];
export declare function listKnowledgeConsolidationCandidates(view: KnowledgeStoreReadView, limit?: number, input?: {
    readonly status?: KnowledgeConsolidationCandidateRecord['status'] | undefined;
    readonly subjectKind?: KnowledgeConsolidationCandidateRecord['subjectKind'] | undefined;
    readonly subjectId?: string | undefined;
}): KnowledgeConsolidationCandidateRecord[];
export declare function listKnowledgeConsolidationReports(view: KnowledgeStoreReadView, limit?: number): KnowledgeConsolidationReportRecord[];
export declare function listKnowledgeSchedules(view: KnowledgeStoreReadView, limit?: number): KnowledgeScheduleRecord[];
export declare function getKnowledgeSource(view: KnowledgeStoreReadView, id: string): KnowledgeSourceRecord | null;
export declare function getKnowledgeNode(view: KnowledgeStoreReadView, id: string): KnowledgeNodeRecord | null;
export declare function getKnowledgeIssue(view: KnowledgeStoreReadView, id: string): KnowledgeIssueRecord | null;
export declare function getKnowledgeExtraction(view: KnowledgeStoreReadView, id: string): KnowledgeExtractionRecord | null;
export declare function getKnowledgeExtractionBySourceId(view: KnowledgeStoreReadView, sourceId: string): KnowledgeExtractionRecord | null;
export declare function getKnowledgeJobRun(view: KnowledgeStoreReadView, id: string): KnowledgeJobRunRecord | null;
export declare function getKnowledgeRefinementTask(view: KnowledgeStoreReadView, id: string): KnowledgeRefinementTaskRecord | null;
export declare function getKnowledgeUsageRecord(view: KnowledgeStoreReadView, id: string): KnowledgeUsageRecord | null;
export declare function getKnowledgeConsolidationCandidate(view: KnowledgeStoreReadView, id: string): KnowledgeConsolidationCandidateRecord | null;
export declare function getKnowledgeConsolidationCandidateBySubject(view: KnowledgeStoreReadView, subjectKind: KnowledgeConsolidationCandidateRecord['subjectKind'], subjectId: string, candidateType: KnowledgeConsolidationCandidateRecord['candidateType']): KnowledgeConsolidationCandidateRecord | null;
export declare function getKnowledgeConsolidationReport(view: KnowledgeStoreReadView, id: string): KnowledgeConsolidationReportRecord | null;
export declare function getKnowledgeSchedule(view: KnowledgeStoreReadView, id: string): KnowledgeScheduleRecord | null;
export declare function getKnowledgeSourceByCanonicalUri(view: KnowledgeStoreReadView, canonicalUri: string): KnowledgeSourceRecord | null;
export declare function getKnowledgeNodeByKindAndSlug(view: KnowledgeStoreReadView, kind: KnowledgeNodeRecord['kind'], slug: string): KnowledgeNodeRecord | null;
export declare function edgesForKnowledgeStore(view: KnowledgeStoreReadView, kind: KnowledgeEdgeRecord['fromKind'] | KnowledgeEdgeRecord['toKind'], id: string): KnowledgeEdgeRecord[];
export declare function getKnowledgeItem(view: KnowledgeStoreReadView, id: string): KnowledgeItemView | null;
//# sourceMappingURL=store-read.d.ts.map