import { Collection } from './Collection'; import { EdgeModel } from './EdgeModel'; import { Graph } from './Graph'; import { VertexModel, VertexModelConstructor } from './Vertex'; import { ObjectId } from '../mongodb/MongoTypes'; export declare class EdgeCollection extends Collection { constructor(db: Graph); get(outModel: VertexModel, label: string, inModel: VertexModel): Promise; insert(outModel: VertexModel, label: string, inModel: VertexModel, meta?: any): Promise; update(outModel: VertexModel, label: string, inModel: VertexModel, meta?: any): Promise; rename(outModel: VertexModel, label: string, inModel: VertexModel, newLabel: string, meta?: any): Promise; remove(outModel: VertexModel, label: string, inModel: VertexModel): Promise; findInVertices(outModel: VertexModel, inModelConstructor: VertexModelConstructor, label?: string): Promise>; findOutVertices(inModel: VertexModel, outModelConstructor: VertexModelConstructor, label?: string): Promise>; outV(outV: ObjectId, label: string, filter?: any, projection?: any, sort?: any): Promise>; createIndices(): Promise; }