import type { MCPClient } from '../core/database.js'; import type { KnowledgeObject, KnowledgeObjectType } from '../types/knowledge.js'; import type { ID, ValidationResult } from '../types/common.js'; export declare class KnowledgeService { private readonly repo; constructor(client: MCPClient); create(input: Omit & { id?: ID; }): Promise<{ object: KnowledgeObject | null; validation: ValidationResult; }>; getById(id: ID): Promise; update(id: ID, fields: Partial): Promise; upsert(object: KnowledgeObject): Promise; listByType(projectId: ID, type: KnowledgeObjectType): Promise; listByStatus(projectId: ID, status: KnowledgeObject['status']): Promise; filterContextEligible(projectId: ID): Promise; filterGraphEligible(projectId: ID): Promise; filterEmbeddingEligible(projectId: ID): Promise; search(projectId: ID, query: string): Promise; } //# sourceMappingURL=knowledge-service.d.ts.map