UNPKG

@kpritam/gremlin-mcp

Version:

A Gremlin MCP server that allows for fetching status, schema, and querying using Gremlin for any Gremlin-compatible graph database (TypeScript implementation).

34 lines 1 kB
/** * Utility functions for data import/export operations. * Simplifies and standardizes data handling logic. */ import type { GremlinClient } from '../gremlin/client.js'; import { type ImportDataInput, type ExportSubgraphInput } from '../gremlin/models.js'; /** * Result type for import operations. */ export interface ImportResult { success: boolean; message: string; imported_count?: number; details?: unknown; } /** * Result type for export operations. */ export interface ExportResult { success: boolean; message: string; data?: unknown; format: string; exported_count?: number; } /** * Import graph data from various formats. */ export declare function importGraphData(client: GremlinClient, input: ImportDataInput): Promise<ImportResult>; /** * Export subgraph data to various formats. */ export declare function exportSubgraph(client: GremlinClient, input: ExportSubgraphInput): Promise<ExportResult>; //# sourceMappingURL=data-operations.d.ts.map