import type { CardId, CollectionId, TableId } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { State } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store";
import type { FileUploadState } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store/upload";
import { UploadMode } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store/upload";
export declare const UPLOAD_DATA_FILE_TYPES: string[];
export declare const UPLOAD_FILE_TO_COLLECTION = "metabase/collection/UPLOAD_FILE";
export declare const UPLOAD_FILE_START = "metabase/collection/UPLOAD_FILE_START";
export declare const UPLOAD_FILE_END = "metabase/collection/UPLOAD_FILE_END";
export declare const UPLOAD_FILE_ERROR = "metabase/collection/UPLOAD_FILE_ERROR";
export declare const UPLOAD_FILE_CLEAR = "metabase/collection/UPLOAD_FILE_CLEAR";
export declare const UPLOAD_FILE_CLEAR_ALL = "metabase/collection/UPLOAD_FILE_CLEAR_ALL";
export declare const MAX_UPLOAD_STRING = "50";
export declare const clearAllUploads: import("redux-actions").ActionFunctionAny<import("redux-actions").Action<any>>;
export declare const getAllUploads: (state: State) => FileUploadState;
export declare const hasActiveUploads: (state: State) => boolean;
export interface UploadFileProps {
    file: File;
    collectionId?: CollectionId;
    tableId?: TableId;
    modelId?: CardId;
    uploadMode: UploadMode;
    reloadQuestionData?: boolean;
}
export declare const uploadFile: (args_0: UploadFileProps) => (dispatch: import("@reduxjs/toolkit").ThunkDispatch<any, any, any>, getState: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store").GetState) => Promise<{
    type: "metabase/collection/UPLOAD_FILE";
    payload: void;
}>;
interface UploadStartPayload {
    id: number;
    name: string;
    collectionId?: CollectionId;
    tableId?: TableId;
}
interface UploadEndPayload {
    id: number;
}
declare const upload: import("redux-actions").ReduxCompatibleReducer<FileUploadState, UploadStartPayload | UploadEndPayload>;
export default upload;
