import * as cog from '../cog'; import * as dashboardv2beta1 from '../dashboardv2beta1'; import * as expr from '../expr'; export declare class QueryBuilder implements cog.Builder { protected readonly internal: dashboardv2beta1.DataQueryKind; constructor(); /** * Builds the object. */ build(): dashboardv2beta1.DataQueryKind; version(version: string): this; datasource(ref: { name?: string; }): this; typeMath(typeMath: cog.Builder): this; typeReduce(typeReduce: cog.Builder): this; typeResample(typeResample: cog.Builder): this; typeClassicConditions(typeClassicConditions: cog.Builder): this; typeThreshold(typeThreshold: cog.Builder): this; typeSql(typeSql: cog.Builder): this; }