import { DataFrameFieldIndex, FieldMatcher } from '@grafarg/data';
/**
 * Mode to describe if a legend is isolated/selected or being appended to an existing
 * series selection.
 * @alpha
 */
export declare enum GraphNGLegendEventMode {
    ToggleSelection = "select",
    AppendToSelection = "append"
}
/**
 * Event being triggered when the user interact with the Graph legend.
 * @alpha
 */
export interface GraphNGLegendEvent {
    fieldIndex: DataFrameFieldIndex;
    mode: GraphNGLegendEventMode;
}
export interface XYFieldMatchers {
    x: FieldMatcher;
    y: FieldMatcher;
}
