import { Field } from "../../../hook-struct/Field"; import { BitMutation } from "../../../hook-struct/BitMutation"; import { Doc } from "../../../hook-struct/Doc"; import { Bitset } from "../../../hook-struct/Bitset"; import { ReverseIndexRepository } from "../../../hook-struct/ReverseIndexRepository"; import { FieldExpression } from "../../../SearchReq"; import { RequestContext } from "../../../RequestContext"; export declare class IntegerField implements Field { readonly name: string; constructor(name: string); parseAdd(doc: Doc, old: Doc, id: number): Promise>; empty(id: number, bit: 1 | 0): BitMutation; encode(value: any, id: number): Array; parseDelete(doc: Doc, id: number): Promise>; search(expr: FieldExpression, repository: ReverseIndexRepository, requestContext: RequestContext): Promise; compare(num: number, valueSets: Array, fullIds: Bitset): [Bitset, Bitset, Bitset]; } export interface CompareExpr { type: "=" | ">" | "<" | '<=' | ">="; value: number; }