import type { Datum } from "../shared/datumTypes";
import type { StreamNetworkFrameProps } from "../../stream/networkTypes";
import type { BaseChartProps, ChartAccessor } from "../shared/types";
import { type TooltipProp } from "../../Tooltip/Tooltip";
import type { LegendInteractionMode } from "../shared/hooks";
/**
 * Treemap component props
 */
export interface TreemapProps<TNode extends Datum = Datum> extends BaseChartProps {
    data: TNode;
    childrenAccessor?: ChartAccessor<TNode, TNode[]>;
    valueAccessor?: ChartAccessor<TNode, number>;
    nodeIdAccessor?: ChartAccessor<TNode, string>;
    colorBy?: ChartAccessor<TNode, string | number>;
    colorScheme?: string | string[];
    colorByDepth?: boolean;
    showLabels?: boolean;
    labelMode?: "leaf" | "parent" | "all";
    nodeLabel?: ChartAccessor<TNode, string>;
    padding?: number;
    paddingTop?: number;
    enableHover?: boolean;
    legendInteraction?: LegendInteractionMode;
    tooltip?: TooltipProp;
    frameProps?: Partial<Omit<StreamNetworkFrameProps, "edges" | "size">>;
}
/**
 * Treemap - Visualize hierarchical data as nested rectangles.
 *
 * Wraps StreamNetworkFrame (canvas-first) for treemap visualization.
 */
export declare function Treemap<TNode extends Datum = Datum>(props: TreemapProps<TNode>): import("react/jsx-runtime").JSX.Element;
export declare namespace Treemap {
    var displayName: string;
}
