import { type DisplayStateConfigInterface } from '../../_abstract/display-state-manager'; export interface SizeLegendConfigInterface extends DisplayStateConfigInterface { /** * Whether to hide the legend. * Default: `false` */ hidden?: boolean; /** * The label for the size legend. * @default undefined */ label?: string; /** * The label formatter function to format the size legend label. * @param n - The value to format. * @returns The formatted label string. * @default undefined */ labelFormatter?: (n: number) => string; /** * The extent of the size legend, represented as a tuple of [min, max] values. * @default undefined */ extent?: [number, number]; /** * The labels for the extent of the size legend, represented as a tuple of [min, max] values. * @default undefined */ extentLabels?: [number, number]; /** * Whether to enable events for the size legend. * @default true */ enableEvents?: boolean; /** * The form of the size legend, either 'point' or 'line'. * @default 'point' */ form?: 'point' | 'line'; /** * Whether to show sublabels for the size legend. * @default false */ showSublabels?: boolean; /** * The label for the minimum value in the size legend. * @default 'min' */ minSubLabel?: string; /** * The label for the maximum value in the size legend. * @default 'max' */ maxSubLabel?: string; /** * The size multiplier to apply to the size legend. * @default undefined */ sizeMultiplier?: number; /** * Callback function that is called when the size legend is clicked. * @param e - The click event object. */ onClick?: (e: Event) => void; /** * Callback function that is called when the minimum value in the size legend is clicked. * @param size - The current size value. * @param value - The current value associated with the size. * @param e - The click event object. */ onMinClick?: (size: number | undefined, value: number | undefined, e: Event) => void; /** * Callback function that is called when the maximum value in the size legend is clicked. * @param size - The current size value. * @param value - The current value associated with the size. * @param e - The click event object. */ onMaxClick?: (size: number | undefined, value: number | undefined, e: Event) => void; /** * Callback function that is called when the size legend is hovered over. * @param e - The hover event object. */ onHover?: (e: Event) => void; } export declare const defaultSizeLegendConfig: SizeLegendConfigInterface;