import { type ICatalogMeasure, type IInsight, type ObjRef } from "@gooddata/sdk-model";
type IInsightsMap = {
    get: (ref: ObjRef) => IInsight | undefined;
};
export type IMetricHeaderListItem = {
    type: "header";
    title: string;
};
export type IMetricSeparatorListItem = {
    type: "separator";
};
export type IStaticMetricListItem = IMetricHeaderListItem | IMetricSeparatorListItem;
export type IMetricDropdownListItem = ICatalogMeasure | IStaticMetricListItem;
export declare const isMetricHeaderListItem: (item: unknown) => item is IMetricHeaderListItem;
export declare const isMetricSeparatorListItem: (item: unknown) => item is IMetricSeparatorListItem;
interface IUseMetricDropdownItemsParams {
    measures: ICatalogMeasure[];
    searchQuery: string;
    enableMeasureValueFilterKD: boolean;
    insightWidgets: unknown[];
    insightsMap: IInsightsMap;
}
export declare function useMetricDropdownItems({ measures, searchQuery, enableMeasureValueFilterKD, insightWidgets, insightsMap }: IUseMetricDropdownItemsParams): {
    metricMeasures: ICatalogMeasure[];
    metricDropdownItems: IMetricDropdownListItem[];
};
export {};
//# sourceMappingURL=useMetricDropdownItems.d.ts.map