/**
 * 관리자 그래프 뷰용 노드/엣지 조회 (009-memory-graph-view)
 */
import type Database from 'better-sqlite3';
export interface GraphNode {
    id: string;
    label: string;
    content: string;
    type: 'episodic' | 'semantic' | 'procedural' | 'working';
    importance: number;
    created_at: string;
    tags: string[];
    pinned: boolean;
}
export interface GraphEdge {
    id: string;
    source: string;
    target: string;
    relation_type: string;
    confidence: number;
    edge_source: 'memory_relation';
}
export interface GraphFilter {
    types?: string[] | null;
    relation_types?: string[] | null;
    min_importance?: number;
    limit?: number;
}
export interface GraphResponse {
    nodes: GraphNode[];
    edges: GraphEdge[];
    meta: {
        total_nodes: number;
        total_edges: number;
        applied_filters: GraphFilter;
        truncated: boolean;
    };
}
/**
 * DB에서 그래프 데이터를 조회하여 GraphResponse를 구성한다.
 * FR-001~FR-003, FR-010~FR-012
 */
export declare function buildGraphResponse(db: Database.Database, filters: GraphFilter): GraphResponse;
//# sourceMappingURL=admin-graph-response.d.ts.map