import { SQLiteStore } from '../state/sqlite-store.js';
import type { KnowledgeConsolidationCandidateRecord, KnowledgeConsolidationReportRecord, KnowledgeEdgeRecord, KnowledgeExtractionRecord, KnowledgeIssueRecord, KnowledgeJobRunRecord, KnowledgeNodeRecord, KnowledgeRefinementTaskRecord, KnowledgeScheduleRecord, KnowledgeSourceRecord, KnowledgeUsageRecord } from './types.js';
export interface KnowledgeSpaceDeleteResult {
    readonly sources: number;
    readonly nodes: number;
    readonly edges: number;
    readonly issues: number;
    readonly extractions: number;
    readonly jobRuns: number;
    readonly refinementTasks: number;
    readonly usageRecords: number;
    readonly consolidationCandidates: number;
    readonly consolidationReports: number;
    readonly schedules: number;
}
export interface KnowledgeSpaceDeleteStores {
    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 planKnowledgeSpaceDeleteRows(stores: KnowledgeSpaceDeleteStores, spaceId: string): KnowledgeSpaceDeleteResult;
export declare function deleteKnowledgeSpaceRows(sqlite: SQLiteStore, stores: KnowledgeSpaceDeleteStores, spaceId: string): KnowledgeSpaceDeleteResult;
//# sourceMappingURL=store-space-delete.d.ts.map