/** * Copyright Linkurious SAS 2012 - 2019 * * - Created on 2019-10-30. */ import { Request } from '../../http/request'; import { LkEdge, LkSubGraph } from '../graphItemTypes'; import { IDataSourceParams } from '../commonTypes'; import { BulkCreateEdgesParams, BulkCreateEdgesResponse, ICreateEdgeParams, IDeleteEdgeParams, IGetEdgeParams, IUpdateEdgeParams } from './types'; export * from './types'; export declare class GraphEdgeAPI extends Request { /** * Get an edge of the graph. * A subgraph made of the edge and its extremities is returned. */ getEdge(this: Request, params: IGetEdgeParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Add an edge to the graph. */ createEdge(this: Request, params: ICreateEdgeParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Update a subset of properties of an edge. * Keep every other property of the edge unchanged. * It's not possible to update an edge's type */ updateEdge(this: Request, params: IUpdateEdgeParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Delete an edge from the graph. */ deleteEdge(params: IDeleteEdgeParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Add a chunk of edges to the graph. */ bulkCreateEdges(this: Request, params: BulkCreateEdgesParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Get the number of edges in the graph. */ getEdgeCount(this: Request, params?: IDataSourceParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; }