import { RestTerm } from './terms'; import { RestJoin } from './rest-join'; export declare class RestQuery { private _collection; private terms; private commands; private joins; constructor(_collection: string); toString(): string; readonly collection: string; where(field: string, configure?: (term: RestTerm) => void): RestQuery; join(collection: string, configure?: (join: RestJoin) => void): RestQuery; removeAllJoins(): void; private register(command, param); private registerList(command, list, suffix?); private registerBoolean(command, value); show(fields: string[]): RestQuery; hide(fields: string[]): RestQuery; sort(fields: string[], accending: true): RestQuery; has(field: string): RestQuery; case(value: boolean): RestQuery; limit(value: number): RestQuery; limitPerDB(value: number): RestQuery; start(value: number): RestQuery; }