import type { LocationDescriptor } from "history";
import type { MouseEvent } from "react";
import type { IconName } from "../ui";
import type { RecentItem } from "../../metabase-types/api";
import type { PaletteActionImpl } from "./types";
export declare const processResults: (results: (string | PaletteActionImpl)[]) => (string | PaletteActionImpl)[];
export declare const processSection: (sectionName: string, items?: PaletteActionImpl[]) => (string | PaletteActionImpl)[];
export declare const navigateActionIndex: (actions: (string | PaletteActionImpl)[], index: number, diff: number) => number;
export declare const findClosestActionIndex: (actions: (string | PaletteActionImpl)[], index: number, diff: number) => number;
export declare const filterRecentItems: (items: RecentItem[]) => RecentItem[];
export declare const getCommandPaletteIcon: (item: PaletteActionImpl, isActive: boolean) => {
    name: IconName;
    color: string;
};
export declare const isAbsoluteURL: (url: string) => boolean;
export declare const locationDescriptorToURL: (locationDescriptor: LocationDescriptor) => string;
export declare const isNormalClick: (e: MouseEvent) => boolean;
