import { Filter } from './filter'; export type Query = { fields?: string[] | null; sort?: string[] | null; filter?: Filter | null; limit?: number | null; offset?: number | null; page?: number | null; search?: string | null; export?: 'json' | 'csv' | 'xml' | null; group?: string[] | null; aggregate?: Aggregate | null; deep?: NestedDeepQuery | null; alias?: Record | null; }; export type DeepQuery = { _fields?: string[] | null; _sort?: string[] | null; _filter?: Filter | null; _limit?: number | null; _offset?: number | null; _page?: number | null; _search?: string | null; _group?: string[] | null; _aggregate?: Aggregate | null; }; export type NestedDeepQuery = { [field: string]: DeepQuery | NestedDeepQuery; }; /** * Aggregate operation. Contains column name, and the field alias it should be returned as */ export type Aggregate = { avg?: string[]; avgDistinct?: string[]; count?: string[]; countDistinct?: string[]; sum?: string[]; sumDistinct?: string[]; min?: string[]; max?: string[]; }; //# sourceMappingURL=query.d.ts.map