import * as mongoDB from "mongodb";
export declare class MongoObject {
    private static readonly __id;
    private static readonly EMPTY_STR;
    private readonly collection;
    protected readonly _id: mongoDB.ObjectId;
    protected readonly originResult: mongoDB.WithId<mongoDB.Document>;
    private updateFilter;
    constructor(result: mongoDB.WithId<mongoDB.Document>, collection: mongoDB.Collection<mongoDB.Document>);
    protected inc(field: string, value: number): void;
    protected min(field: string, value: any): void;
    protected max(field: string, value: any): void;
    protected mul(field: string, value: number): void;
    protected rename(field: string, newField: string): void;
    protected set(field: string, value: any): void;
    protected removeSet(field: string): void;
    protected setOnInsert(field: string, value: any): void;
    protected unset(field: string): void;
    getObjectId(): mongoDB.ObjectId;
    getOriginResult(): mongoDB.WithId<mongoDB.Document>;
    saveAsync(): Promise<mongoDB.UpdateResult>;
}
