import type { SankeyExtraProperties, SankeyGraph, SankeyLayout } from "./sankey.types.mjs"; /** * Get a Sankey layout generator. * * Invoking sankey() without generics, means the node type and link type assume no user-defined attributes, i.e. * only the attributes internally used by the Sankey layout generator. * * Default nodes/links accessors are assumed. */ export declare function sankey(withoutPositions?: WithPosition): SankeyLayout, {}, {}>; /** * Get a Sankey layout generator. * * Default nodes/links accessors are assumed. * * The first generic N refers to user-defined properties contained in the node data passed into * Sankey layout generator. These properties are IN EXCESS to the properties explicitly identified in the * SankeyNodeMinimal interface. * * The second generic L refers to user-defined properties contained in the link data passed into * Sankey layout generator. These properties are IN EXCESS to the properties explicitly identified in the * SankeyLinkMinimal interface. */ export declare function sankey(withoutPositions?: WithPosition): SankeyLayout, N, L>; /** * Get a Sankey layout generator. * * The nodes/links accessors need to be configured to work with the data type of the first argument passed * in when invoking the Sankey layout generator. * * The first generic corresponds to the data type of the first argument passed in when invoking the Sankey layout generator, * and its nodes/links accessors. * * The second generic N refers to user-defined properties contained in the node data passed into * Sankey layout generator. These properties are IN EXCESS to the properties explicitly identified in the * SankeyNodeMinimal interface. * * The third generic L refers to user-defined properties contained in the link data passed into * Sankey layout generator. These properties are IN EXCESS to the properties explicitly identified in the * SankeyLinkMinimal interface. */ export declare function sankey(withPositions?: WithPosition): SankeyLayout;