/** @packageDocumentation * @module iModelHubClient */ import { RequestQueryOptions } from "./Request"; /** Base class for Query objects. Query objects are used to modify the results when getting instances. * @beta */ export declare class WsgQuery { protected _query: RequestQueryOptions; /** * Translate this object into QueryOptions. * @internal */ getQueryOptions(): RequestQueryOptions; /** * Reset QueryOptions. * @internal */ resetQueryOptions(): void; /** * Append a part of the filter. * @internal */ protected addFilter(filter: string, operator?: "and" | "or"): void; /** * Set filter to the specified filter string. This resets all previously set filters. * @param filter Filter string to set for the query. * @returns This query. */ filter(filter: string): this; /** * Append a part of the select. * @internal */ protected addSelect(select: string): this; /** * Set select to specified select string. This resets all previously set selects. * @param select Select string to set for the query. * @returns This query. */ select(select: string): this; /** * Select only top entries from the query. This is applied after [[Query.skip]]. * @param n Number of top entries to select. * @returns This query. */ top(n: number): this; /** * Skip first entries in the query. This is applied before [[Query.top]]. * @param n Number of entries to skip. * @returns This query. */ skip(n: number): this; /** * Set order for the query. This resets any other orders set. * @param orderBy Order string to set. * @returns This query. */ orderBy(orderBy: string): this; /** * Select all entries from the query by pages. * @param n Maximum number of entries in a single response. * @returns This query. */ pageSize(n: number): this; } //# sourceMappingURL=WsgQuery.d.ts.map