/// <reference types="react" />
import type { LocationDescriptor } from "history";
import type { ClickActionModeGetter } from "../../../visualizations/types";
import type { CardId, DashCardId, Dashboard, DashboardCard, VisualizationSettings } from "../../../../metabase-types/api";
import type { StoreDashcard } from "../../../../metabase-types/store";
import type { NavigateToNewCardFromDashboardOpts } from "./types";
export interface DashCardProps {
    dashboard: Dashboard;
    dashcard: StoreDashcard;
    gridItemWidth: number;
    totalNumGridCols: number;
    slowCards: Record<CardId, boolean>;
    getClickActionMode?: ClickActionModeGetter;
    clickBehaviorSidebarDashcard?: DashboardCard | null;
    isEditing?: boolean;
    isEditingParameter?: boolean;
    isFullscreen?: boolean;
    isMobile?: boolean;
    isNightMode?: boolean;
    /** If public sharing or static/public embed */
    isPublicOrEmbedded?: boolean;
    isXray?: boolean;
    withTitle?: boolean;
    onAddSeries: (dashcard: StoreDashcard) => void;
    onReplaceCard: (dashcard: StoreDashcard) => void;
    onRemove: (dashcard: StoreDashcard) => void;
    markNewCardSeen: (dashcardId: DashCardId) => void;
    navigateToNewCardFromDashboard?: (opts: NavigateToNewCardFromDashboardOpts) => void;
    onReplaceAllDashCardVisualizationSettings: (dashcardId: DashCardId, settings: VisualizationSettings) => void;
    onUpdateVisualizationSettings: (dashcardId: DashCardId, settings: VisualizationSettings) => void;
    showClickBehaviorSidebar: (dashcardId: DashCardId | null) => void;
    onChangeLocation: (location: LocationDescriptor) => void;
    downloadsEnabled: boolean;
}
declare function DashCardInner({ dashcard, dashboard, slowCards, gridItemWidth, totalNumGridCols, getClickActionMode, isEditing, isNightMode, isFullscreen, isMobile, isPublicOrEmbedded, isXray, isEditingParameter, clickBehaviorSidebarDashcard, withTitle, onAddSeries, onReplaceCard, onRemove, navigateToNewCardFromDashboard, markNewCardSeen, showClickBehaviorSidebar, onChangeLocation, onUpdateVisualizationSettings, onReplaceAllDashCardVisualizationSettings, downloadsEnabled, }: DashCardProps): import("react/jsx-runtime").JSX.Element;
export declare const DashCard: import("react").NamedExoticComponent<DashCardProps> & {
    readonly type: typeof DashCardInner;
} & {
    root: import("@emotion/styled").StyledComponent<{
        theme?: import("@emotion/react").Theme | undefined;
        as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
    } & import("./DashCard.styled").DashCardRootProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
};
export {};
