import { ArangoCollection, BaseCollection, CollectionType, DocumentHandle, EdgeCollection } from "./collection"; import { Connection } from "./connection"; export declare class GraphVertexCollection extends BaseCollection { type: CollectionType; graph: Graph; constructor(connection: Connection, name: string, graph: Graph); document(documentHandle: DocumentHandle, graceful?: boolean): Promise; vertex(documentHandle: DocumentHandle, graceful?: boolean): Promise; save(data: any, opts?: { waitForSync?: boolean; }): Promise; replace(documentHandle: DocumentHandle, newValue: any, opts?: any): Promise; update(documentHandle: DocumentHandle, newValue: any, opts?: any): Promise; remove(documentHandle: DocumentHandle, opts?: any): Promise; } export declare class GraphEdgeCollection extends EdgeCollection { type: CollectionType; graph: Graph; constructor(connection: Connection, name: string, graph: Graph); document(documentHandle: DocumentHandle, graceful?: boolean): Promise; save(data: any, opts?: { waitForSync?: boolean; }): Promise; save(data: any, fromId: DocumentHandle, toId: DocumentHandle, opts?: { waitForSync?: boolean; }): Promise; replace(documentHandle: DocumentHandle, newValue: any, opts?: any): Promise; update(documentHandle: DocumentHandle, newValue: any, opts?: any): Promise; remove(documentHandle: DocumentHandle, opts?: any): Promise; } export declare class Graph { name: string; private _connection; constructor(connection: Connection, name: string); get(): Promise; exists(): Promise; create(properties?: any, opts?: { waitForSync?: boolean; }): Promise; drop(dropCollections?: boolean): Promise; vertexCollection(collectionName: string): GraphVertexCollection; listVertexCollections(opts?: { excludeOrphans?: boolean; }): Promise; vertexCollections(opts?: { excludeOrphans?: boolean; }): Promise; addVertexCollection(collection: string | ArangoCollection): Promise; removeVertexCollection(collection: string | ArangoCollection, dropCollection?: boolean): Promise; edgeCollection(collectionName: string): GraphEdgeCollection; listEdgeCollections(): Promise; edgeCollections(): Promise; addEdgeDefinition(definition: any): Promise; replaceEdgeDefinition(definitionName: string, definition: any): Promise; removeEdgeDefinition(definitionName: string, dropCollection?: boolean): Promise; traversal(startVertex: DocumentHandle, opts: any): Promise; } //# sourceMappingURL=graph.d.ts.map