/*!
 * Copyright (c) Microsoft. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project.
 */
import type { WorkflowSchema } from '@datashaper/schema';
import type { TableContainer } from '@datashaper/tables';
import { FileCollection } from '@datashaper/utilities';
export declare function useHandleCsvUpload(onUpdateTables: (tables: TableContainer[]) => void): () => void;
export declare function useHandleJsonUpload(onUpdateWorkflow: (workflow: WorkflowSchema) => void, onErrorHandler?: (error: string) => void): () => void;
export declare function useHandleFileUpload(onUpdateWorkflow: (workflow: WorkflowSchema) => void, onUpdateTables: (tables: TableContainer[]) => void, onErrorHandler?: (error: string) => void): (fc: FileCollection) => void;
export declare function useHandleZipUpload(onUpdateWorkflow: (workflow: WorkflowSchema) => void, onUpdateTables: (tables: TableContainer[]) => void, onErrorHandler?: (error: string) => void): () => void;
export declare function useHandleFilesUpload(acceptedFileTypes: string[], handleCollection?: (fileCollection: FileCollection) => void): () => void;
