import { SparseBufferWithPaging } from "../sparse-buffer"; import { Segmenta } from "../segmenta"; export declare enum SegmentaPipelineOperations { none = 0, andIn = 1, or = 2, orIn = 3, notIn = 4, min = 5, max = 6, skip = 7, take = 8 } export declare class SegmentaPipeline { private readonly _parent; private readonly _segmenta; private _execOperation; private _operations; id: number; private static operationLookup; constructor(segmenta: Segmenta, parent?: SegmentaPipeline); private _lastOp; in(): this; segment(id: string): this; notIn(): this; or(): this; not(): this; and(): this; min(): this; max(): this; skip(): this; take(): this; private _setLastOp; private _setNoneOp; int(str: string): this; startGroup(): SegmentaPipeline; completeGroup(): SegmentaPipeline; private _count; exec(): Promise; asGet(): SegmentaPipeline; asRandom(): SegmentaPipeline; asCount(): SegmentaPipeline; private _random; private _get; }