/** * Returns the default aggregator which rolls up non-group_by columns into a children array. */ export function defaultAggregator(config: any): { mapper: (row: any) => {}; reducers: { field: any; formula: (x: any) => any; }[]; }; export function dataset(data: any, options?: {}): DataSet; export class DataSet { constructor(data: any); set data(values: any[]); get data(): any[]; set config(props: any); override(props: any): this; where(condition: any): this; apply(callback: any): this; sortBy(...fields: any[]): this; rename(how: any): this; drop(...fields: any[]): DataSet; fillNA(value: any): this; remove(): this; update(value: any): this; groupBy(...fields: any[]): this; alignBy(...fields: any[]): this; usingTemplate(template: any): this; summarize(from: any, fields: any): this; rollup(): DataSet; select(...cols: any[]): any; /** * Derive column definitions from the current data. * * Returns `{ name, type, scale, sortable, filterable, fields, formatter }` for each * column, plus any user-supplied properties from `options.enhancements`. * * @param {Object} [options] * @param {Array} [options.enhancements=[]] - Per-column overrides keyed by name. * @param {string} [options.language='en-US'] - Locale for formatters. * @param {string} [options.scanMode='fast'] - 'fast' or 'deep'. * @returns {Array} */ columnDefs(options?: { enhancements?: Object[] | undefined; language?: string | undefined; scanMode?: string | undefined; }): Array; union(other: any): DataSet; minus(other: any): DataSet; intersect(other: any): DataSet; innerJoin(other: any, condition: any): DataSet; leftJoin(other: any, condition: any): DataSet; rightJoin(other: any, condition: any): DataSet; fullJoin(other: any, condition: any): DataSet; crossJoin(other: any): DataSet; semiJoin(other: any, condition: any): DataSet; antiJoin(other: any, condition: any): DataSet; nestedJoin(other: any, condition: any): DataSet; #private; }