import type { Location } from "history";
import type { MouseEvent } from "react";
import type { DashboardFullscreenControls } from "../../../../dashboard/types";
import type { Dashboard } from "../../../../../metabase-types/api";
export declare const DashboardActionMenu: (props: {
    items: any[];
}) => import("react/jsx-runtime").JSX.Element;
export declare const useGetExtraButtons: ({ canResetFilters, onResetFilters, onFullscreenChange, isFullscreen, dashboard, canEdit, pathname, openSettingsSidebar, location, }: DashboardFullscreenControls & {
    canResetFilters: boolean;
    onResetFilters: () => void;
    dashboard: Dashboard;
    canEdit: boolean;
    pathname: string;
    openSettingsSidebar: () => void;
    location: Location;
}) => {
    extraButtons: ({
        title: string;
        icon: string;
        action: (e: MouseEvent) => void;
        separator?: undefined;
        key?: undefined;
        link?: undefined;
    } | {
        separator: boolean;
        key: string;
        title?: undefined;
        icon?: undefined;
        action?: undefined;
        link?: undefined;
    } | {
        title: string;
        icon: string;
        link: string;
        action?: undefined;
        separator?: undefined;
        key?: undefined;
    })[];
};
