import type { ButtonProps } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/core/components/Button";
import type { Card, CollectionItem, RecentCollectionItem } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
type ModelCard = Card & {
    type: "model";
};
/**
 * Omitting the "type" attribute is hopefully a temporary workaround
 * until Metrics v2 are supported in Collections and the ambiguity between
 * CollectionItem["type"] and Card["type"] disappears.
 *
 * @see https://github.com/metabase/metabase/issues/37350#issuecomment-1910284020
 */
type ModelCollectionItem = Omit<CollectionItem, "type" | "based_on_upload" | "collection_id">;
interface Props extends ButtonProps {
    model: ModelCard | ModelCollectionItem | RecentCollectionItem;
}
declare function ModelDetailLink({ model, ...props }: Props): import("react/jsx-runtime").JSX.Element;
export default ModelDetailLink;
