import { _ModuleSupport } from 'ag-charts-community';
import { AbstractModuleInstance, type DynamicContext } from 'ag-charts-core';
export declare class GradientLegend extends AbstractModuleInstance {
    readonly ctx: DynamicContext<_ModuleSupport.ChartRegistry>;
    readonly id: string;
    private readonly legendGroup;
    private readonly containerNode;
    private readonly gradientRectSelection;
    private readonly arrowSelection;
    private readonly ticksGroupSelection;
    private readonly axisTicks;
    private enabledData;
    data: _ModuleSupport.GradientLegendDatum[];
    private get opts();
    get enabled(): boolean;
    private isVertical;
    constructor(ctx: DynamicContext<_ModuleSupport.ChartRegistry>);
    attachLegend(scene: _ModuleSupport.Scene): void;
    private onStartLayout;
    private updateGradientRect;
    private updateAxis;
    private updateContainer;
    private updateArrows;
    private getMeasurements;
    private getContainerStyles;
}
