/// <reference types="react" />
import type ForeignKey from "../../../../metabase-lib/v1/metadata/ForeignKey";
import type { State } from "../../../../metabase-types/store";
import type { ObjectDetailProps, ObjectId } from "./types";
declare const mapStateToProps: (state: State, { data }: ObjectDetailProps) => {
    question?: undefined;
    table?: undefined;
    tableForeignKeys?: undefined;
    tableForeignKeyReferences?: undefined;
    zoomedRowID?: undefined;
    zoomedRow?: undefined;
    canZoom?: undefined;
    canZoomPreviousRow?: undefined;
    canZoomNextRow?: undefined;
} | {
    question: import("../../..-lib/v1/Question").default | undefined;
    table: import("../../..-lib/v1/metadata/Table").default | null;
    tableForeignKeys: ForeignKey[];
    tableForeignKeyReferences: any;
    zoomedRowID: any;
    zoomedRow: any;
    canZoom: boolean;
    canZoomPreviousRow: boolean;
    canZoomNextRow: boolean;
};
type MapStateProps = ReturnType<typeof mapStateToProps>;
declare const mapDispatchToProps: (dispatch: any) => {
    fetchTableFks: (id: number) => any;
    loadObjectDetailFKReferences: (args: any) => any;
    followForeignKey: ({ objectId, fk, }: {
        objectId: ObjectId;
        fk: ForeignKey;
    }) => any;
    viewPreviousObjectDetail: () => any;
    viewNextObjectDetail: () => any;
    closeObjectDetail: () => any;
};
type MapDispatchProps = ReturnType<typeof mapDispatchToProps>;
type OwnProps = Omit<ObjectDetailProps, keyof MapStateProps | keyof MapDispatchProps>;
declare const _default: import("react").ComponentType<OwnProps>;
export default _default;
