import Database from 'better-sqlite3'; import { NeuromcpConfig } from '../config.js'; import { Logger } from '../observability/logger.js'; import { Metrics } from '../observability/metrics.js'; import { Entity, Relation, GraphQueryResult } from '../types.js'; interface CreateEntityInput { readonly name: string; readonly entity_type?: string; readonly namespace?: string; readonly metadata?: Record; } declare function createEntity(input: CreateEntityInput, db: Database.Database, config: NeuromcpConfig, logger: Logger, metrics: Metrics): Entity; interface CreateRelationInput { readonly source_entity_id: string; readonly target_entity_id: string; readonly relation_type: string; readonly namespace?: string; readonly weight?: number; readonly metadata?: Record; readonly valid_from?: string; readonly valid_to?: string; } declare function createRelation(input: CreateRelationInput, db: Database.Database, config: NeuromcpConfig, logger: Logger, metrics: Metrics): Relation; interface QueryGraphInput { readonly entity_id?: string; readonly entity_name?: string; readonly namespace?: string; readonly max_depth?: number; readonly relation_types?: readonly string[]; readonly valid_at?: string; readonly limit?: number; } declare function queryGraph(input: QueryGraphInput, db: Database.Database, config: NeuromcpConfig, logger: Logger, metrics: Metrics): GraphQueryResult; export { type CreateEntityInput, type CreateRelationInput, type QueryGraphInput, createEntity, createRelation, queryGraph };