/** * className suffix mapping for legend elements * Used to generate prefixed classNames, e.g., classNamePrefix='g2-' generates 'g2-legend-{suffix}' * * @example * import { CLASSNAME_SUFFIX_MAP, getLegendClassName } from './utils'; * * const titleClassName = getLegendClassName( * CLASS_NAMES.text.name, * CLASSNAME_SUFFIX_MAP.title, * 'g2-' * ); * // Returns: 'title-text g2-legend-title' */ export declare const CLASSNAME_SUFFIX_MAP: { readonly title: "title"; readonly item: "item"; readonly marker: "marker"; readonly label: "label"; readonly value: "value"; readonly focusIcon: "focus-icon"; readonly background: "background"; readonly ribbon: "ribbon"; readonly track: "track"; readonly selection: "selection"; readonly handle: "handle"; readonly handleMarker: "handle-marker"; readonly handleLabel: "handle-label"; readonly indicator: "indicator"; readonly prevBtn: "prev-btn"; readonly nextBtn: "next-btn"; readonly pageInfo: "page-info"; }; /** * className suffix type */ export type ClassNameSuffix = keyof typeof CLASSNAME_SUFFIX_MAP;