import { QueryObject } from './types';
import { QueryFieldAliases, QueryFormData } from './types/QueryFormData';
/**
 * Build the common segments of all query objects (e.g. the granularity field derived from
 * SQLAlchemy). The segments specific to each viz type is constructed in the
 * buildQuery method for each viz type (see `wordcloud/buildQuery.ts` for an example).
 * Note the type of the formData argument passed in here is the type of the formData for a
 * specific viz, which is a subtype of the generic formData shared among all viz types.
 */
export default function buildQueryObject<T extends QueryFormData>(formData: T, queryFields?: QueryFieldAliases): QueryObject;
//# sourceMappingURL=buildQueryObject.d.ts.map