import Viz from "./Viz.js";
/**
    Creates a sankey visualization based on a defined set of nodes and links. [Click here](http://d3plus.org/examples/d3plus-network/sankey-diagram/) for help getting started using the Sankey class.
*/
export default class Sankey 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;
    /**
        The hover callback function for highlighting shapes on mouseover.
  */
    hover(_: any): this;
    /**
        A pass-through for the d3-sankey [iterations](https://github.com/d3/d3-sankey?tab=readme-ov-file#sankey_iterations) function.
  */
    iterations(_: any): any;
    /**
        A predefined *Array* of edges that connect each object passed to the [node](#Sankey.node) method. The `source` and `target` keys in each link need to map to the nodes in one of one way:
  1. A *String* value matching the `id` of the node.
  
  The value passed should be an *Array* of data. An optional formatting function can be passed as a second argument to this method. This custom function will be passed the data that has been loaded, as long as there are no errors. This function should return the final links *Array*.
      @param f Array of link objects or a URL to load links from.
  */
    links(_: any, f?: any): any;
    /**
        A pass-through for the d3-sankey [linkSort](https://github.com/d3/d3-sankey?tab=readme-ov-file#sankey_linkSort) function.
  */
    linkSort(_: any): any;
    /**
        The key inside of each link Object that references the source node.
  */
    linksSource(_: any): any;
    /**
        The key inside of each link Object that references the target node.
  */
    linksTarget(_: any): any;
    /**
        The nodeAlign property of the sankey layout, which can be "left", "right", "center", or "justify".
  */
    nodeAlign(_: any): any;
    /**
        The node id accessor(s).
  */
    nodeId(_: any): any;
    /**
        The list of nodes to be used for drawing the network. The value passed must be an *Array* of data.
  
  Additionally, a custom formatting function can be passed as a second argument to this method. This custom function will be passed the data that has been loaded, as long as there are no errors. This function should return the final node *Array*.
      @param f Array of node objects or a URL to load nodes from.
  */
    nodes(_: any, f?: any): any;
    /**
        Padding of the node. By default, the nodePadding size is 8.
  */
    nodePadding(_: any): any;
    /**
        A pass-through for the d3-sankey [nodeSort](https://github.com/d3/d3-sankey?tab=readme-ov-file#sankey_nodeSort) function.
  */
    nodeSort(_: any): any;
    /**
        Width of the node. By default, the nodeWidth size is 30.
  */
    nodeWidth(_: any): any;
    /**
        Width of the links.
  
  @example
  function value(d) {
    return d.value;
  }
  */
    value(_: any): any;
}
