import { Entity } from "./Entity"; import { IBaseQuery, IActiveQuery } from "./IBaseQuery"; import { Context } from "./Context"; import { Collection } from "./Collection"; export declare class DbSet> implements IBaseQuery { private pojso; entity: Entity; private context; constructor(pojso: new () => T, entity: Entity, context: Context); select(fields?: string | string[]): IActiveQuery; where(clause: (item: T, binds: B) => boolean, bindObj?: B): IActiveQuery; create(bindObj?: B): T; selectOrCreate(clause: (item: T, binds: T) => boolean, bindObj?: T): Promise>; }