import Viz from "./Viz.js";
/**
    Uses the [d3 treemap layout](https://github.com/mbostock/d3/wiki/Treemap-Layout) to creates SVG rectangles based on an array of data. See [this example](https://d3plus.org/examples/d3plus-hierarchy/getting-started/) for help getting started using the treemap generator.
*/
export default class Treemap extends Viz {
    [key: string]: any;
    /**
      Invoked when creating a new class instance, and sets any default parameters.
      @private
  */
    constructor();
    /**
        Extends the draw behavior of the abstract Viz class.
        @private
  */
    _draw(callback?: () => void): this;
    /**
     * Applies the threshold algorithm for Treemaps.
     * @param {Array} data The data to process.
     * @private
  */
    _thresholdFunction(data: any): any;
    /**
        The inner and outer padding.
  */
    layoutPadding(_: any): any;
    /**
        Sort comparator function for the treemap layout. Defaults to descending order by the associated input data's numeric value attribute.
  
  @example
  function comparator(a, b) {
    return b.value - a.value;
  }
  */
    sort(_: any): any;
    /**
        The sum accessor used for sizing each rectangle in the treemap.
  
  @example
  function sum(d) {
    return d.sum;
  }
  */
    sum(_: any): any;
    /**
        The tiling method used when calculating the size and position of the rectangles.
  
  Can either be a string referring to a d3-hierarchy [tiling method](https://github.com/d3/d3-hierarchy#treemap-tiling), or a custom function in the same format.
  */
    tile(_: any): any;
}
