import Step, { ExtractStepValue } from './Step'; import { process } from 'gremlin'; declare type Statics = process.Statics; declare type GraphTraversal = process.GraphTraversal; export default class GroupByStep, ValueStep extends Step, KeyType = ExtractStepValue, ValueType = ExtractStepValue> extends Step> { protected readonly keyStep: KeyStep; protected readonly valueStep: ValueStep; static groupBy, V extends Step, KT = ExtractStepValue, VT = ExtractStepValue>(q: GraphTraversal | Statics, keyStep: K, valueStep: V): GroupByStep; constructor(q: GraphTraversal, keyStep: KeyStep, valueStep: ValueStep); deserialize(v: unknown): Map; createContinuation(g: GraphTraversal): this; } export {};