import { type ReactElement } from "react";
import type { IconName } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/ui";
import type Question from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/Question";
type DataSourcePart = ReactElement | DataSourceBadgePart;
type DataSourceBadgePart = {
    name?: string;
    href?: string;
    icon?: IconName;
    model?: "database" | "schema" | "table" | "question" | "model" | "metric";
};
export declare function getDataSourceParts({ question, subHead, isObjectDetail, formatTableAsComponent, }: {
    question: Question;
    subHead?: boolean;
    isObjectDetail?: boolean;
    formatTableAsComponent?: boolean;
}): DataSourcePart[];
export declare function getQuestionIcon(question: Question): IconName;
export {};
