import type { CardId, CollectionId, TableId } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import { UploadMode } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store/upload";
import type { OnFileUpload } from "../types";
export type CollectionOrTableIdProps = {
    uploadMode: UploadMode.create;
    collectionId: CollectionId;
    tableId?: never;
} | {
    uploadMode: UploadMode.append | UploadMode.replace;
    collectionId?: never;
    tableId: TableId;
    modelId?: CardId;
};
export declare function ModelUploadModal({ opened, onClose, onUpload, collectionId, }: {
    opened: boolean;
    onClose: () => void;
    onUpload: OnFileUpload;
    collectionId: CollectionId;
}): import("react/jsx-runtime").JSX.Element | null;
