import type { AccentColorOptions } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/lib/colors/types";
import type { Series } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import { type SortableItem as SortableChartSettingOrderedItem } from "./ChartSettingOrderedItems";
export interface SortableItem {
    key: string;
    enabled: boolean;
    name: string;
    color?: string;
    hidden?: boolean;
}
interface ChartSettingSeriesOrderProps {
    onChange: (rows: SortableItem[]) => void;
    value: SortableItem[];
    onShowWidget: (widget: {
        props: {
            seriesKey: string;
        };
    }, ref: HTMLElement | undefined) => void;
    series: Series;
    hasEditSettings: boolean;
    onChangeSeriesColor: (seriesKey: string, color: string) => void;
    onSortEnd: (newItems: SortableItem[]) => void;
    accentColorOptions?: AccentColorOptions;
    getItemColor?: (item: SortableChartSettingOrderedItem) => string | undefined;
    addButtonLabel?: string;
    searchPickerPlaceholder?: string;
}
export declare const ChartSettingSeriesOrder: ({ onChange, value: orderedItems, addButtonLabel, searchPickerPlaceholder, onShowWidget, hasEditSettings, onChangeSeriesColor, onSortEnd, getItemColor, accentColorOptions, }: ChartSettingSeriesOrderProps) => import("react/jsx-runtime").JSX.Element;
export {};
