import type * as React from "react";
import type { VisualizationSettings } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { BodyItem, HeaderItem, PivotTableClicked } from "./types";
interface CellProps {
    value: React.ReactNode;
    style?: React.CSSProperties;
    icon?: React.ReactNode;
    backgroundColor?: string;
    isBody?: boolean;
    isBold?: boolean;
    isEmphasized?: boolean;
    isNightMode?: boolean;
    isBorderedHeader?: boolean;
    isTransparent?: boolean;
    hasTopBorder?: boolean;
    onClick?: ((e: React.MouseEvent) => void) | undefined;
    onResize?: (newWidth: number) => void;
}
interface CellProps {
    value: React.ReactNode;
    style?: React.CSSProperties;
    icon?: React.ReactNode;
    backgroundColor?: string;
    isBody?: boolean;
    isBold?: boolean;
    isEmphasized?: boolean;
    isNightMode?: boolean;
    isBorderedHeader?: boolean;
    isTransparent?: boolean;
    hasTopBorder?: boolean;
    onClick?: ((e: React.MouseEvent) => void) | undefined;
    onResize?: (newWidth: number) => void;
    showTooltip?: boolean;
}
export declare function Cell({ value, style, icon, backgroundColor, isBody, isBold, isEmphasized, isNightMode, isBorderedHeader, isTransparent, hasTopBorder, onClick, onResize, showTooltip, }: CellProps): import("react/jsx-runtime").JSX.Element;
type CellClickHandler = (clicked: PivotTableClicked) => ((e: React.MouseEvent) => void) | undefined;
interface TopHeaderCellProps {
    item: HeaderItem;
    style: React.CSSProperties;
    isNightMode: boolean;
    getCellClickHandler: CellClickHandler;
    onResize?: (newWidth: number) => void;
}
export declare const TopHeaderCell: ({ item, style, isNightMode, getCellClickHandler, onResize, }: TopHeaderCellProps) => import("react/jsx-runtime").JSX.Element;
type LeftHeaderCellProps = TopHeaderCellProps & {
    rowIndex: string[];
    settings: VisualizationSettings;
    onUpdateVisualizationSettings: (settings: VisualizationSettings) => void;
};
export declare const LeftHeaderCell: ({ item, style, isNightMode, getCellClickHandler, rowIndex, settings, onUpdateVisualizationSettings, onResize, }: LeftHeaderCellProps) => import("react/jsx-runtime").JSX.Element;
interface BodyCellProps {
    style: React.CSSProperties;
    rowSection: BodyItem[];
    isNightMode: boolean;
    getCellClickHandler: CellClickHandler;
    cellWidths: number[];
    showTooltip?: boolean;
}
export declare const BodyCell: ({ style, rowSection, isNightMode, getCellClickHandler, cellWidths, showTooltip, }: BodyCellProps) => import("react/jsx-runtime").JSX.Element;
export {};
