import { type IconName, type MenuItemProps } from "../../../../ui";
import type Question from "../../../../../metabase-lib/v1/Question";
import type { DashCardId, DashboardId, Dataset, VisualizationSettings } from "../../../../../metabase-types/api";
interface DashCardMenuProps {
    question: Question;
    result: Dataset;
    dashboardId?: DashboardId;
    dashcardId?: DashCardId;
    uuid?: string;
    token?: string;
    visualizationSettings?: VisualizationSettings;
    downloadsEnabled: boolean;
}
export type DashCardMenuItem = {
    iconName: IconName;
    label: string;
    onClick: () => void;
    disabled?: boolean;
} & MenuItemProps;
export declare const DashCardMenu: {
    ({ question, result, dashboardId, dashcardId, uuid, token, }: DashCardMenuProps): import("react/jsx-runtime").JSX.Element | null;
    shouldRender({ question, result, isXray, isPublicOrEmbedded, isEditing, downloadsEnabled, }: ShouldRenderDashcardMenuProps): boolean;
};
interface ShouldRenderDashcardMenuProps {
    question: Question;
    result?: Dataset;
    isXray?: boolean;
    /** If public sharing or static/public embed */
    isPublicOrEmbedded?: boolean;
    isEditing: boolean;
    downloadsEnabled: boolean;
}
export {};
