import type { LocationDescriptor } from "history";
import type { IconName, IconProps } from "../../../ui";
import type { ClickActionModeGetter } from "../../../visualizations/types";
import type { DashCardId, Dashboard, DashboardCard, Series, VisualizationSettings } from "../../../../metabase-types/api";
import type { CardSlownessStatus, DashCardOnChangeCardAndRunHandler } from "./types";
interface DashCardVisualizationProps {
    dashboard: Dashboard;
    dashcard: DashboardCard;
    series: Series;
    getClickActionMode?: ClickActionModeGetter;
    getHref?: () => string | undefined;
    gridSize: {
        width: number;
        height: number;
    };
    gridItemWidth: number;
    totalNumGridCols: number;
    expectedDuration: number;
    isSlow: CardSlownessStatus;
    isAction: boolean;
    isPreviewing: boolean;
    isClickBehaviorSidebarOpen: boolean;
    isEditingDashCardClickBehavior: boolean;
    isEditingDashboardLayout: boolean;
    isEditing?: boolean;
    isEditingParameter?: boolean;
    isFullscreen?: boolean;
    isMobile?: boolean;
    isNightMode?: boolean;
    /** If public sharing or static/public embed */
    isPublicOrEmbedded?: boolean;
    isXray?: boolean;
    withTitle?: boolean;
    error?: {
        message?: string;
        icon?: IconName;
    };
    headerIcon?: IconProps;
    onUpdateVisualizationSettings: (id: DashCardId, settings: VisualizationSettings) => void;
    onChangeCardAndRun: DashCardOnChangeCardAndRunHandler | null;
    showClickBehaviorSidebar: (dashCardId: DashCardId | null) => void;
    onChangeLocation: (location: LocationDescriptor) => void;
    onTogglePreviewing: () => void;
    downloadsEnabled: boolean;
}
export declare function DashCardVisualization({ dashcard, dashboard, series, getClickActionMode, getHref, gridSize, gridItemWidth, totalNumGridCols, expectedDuration, error, headerIcon, isAction, isSlow, isPreviewing, isPublicOrEmbedded, isXray, isEditingDashboardLayout, isClickBehaviorSidebarOpen, isEditingDashCardClickBehavior, isEditing, isNightMode, isFullscreen, isMobile, isEditingParameter, withTitle, onChangeCardAndRun, onTogglePreviewing, showClickBehaviorSidebar, onChangeLocation, onUpdateVisualizationSettings, downloadsEnabled, }: DashCardVisualizationProps): import("react/jsx-runtime").JSX.Element;
export {};
