/**
 * @param {Object} params
 * @param {Object} params.props - component props (file, mappingFields, handlingMode, addBulkItems, fileUploadHandler)
 * @param {Function} params.emit - emit from setup
 * @param {import('vue').Ref<boolean>} params.skipHeaders
 * @param {import('vue').Ref<string>} params.separator
 */
declare const useUploadCsv: ({ props, emit, skipHeaders, separator }: {
    props: any;
    emit: any;
    skipHeaders: any;
    separator: any;
}) => {
    isReadingFile: import("vue").Ref<boolean, boolean>;
    isParsingCSV: import("vue").Ref<boolean, boolean>;
    isParsingPreview: import("vue").Ref<boolean, boolean>;
    parseErrorStackTrace: import("vue").Ref<string, string>;
    csvPreviewTableData: import("vue").ComputedRef<any[][]>;
    csvPreviewTableHeaders: import("vue").ComputedRef<{
        text: string;
        value: string;
    }[]>;
    filteredCsvPreviewTableHeaders: import("vue").ComputedRef<{
        text: string;
        value: string;
    }[]>;
    csvColumns: import("vue").ComputedRef<string[]>;
    allowSaveAction: import("vue").ComputedRef<any>;
    processCSV: () => Promise<void>;
    handleSave: () => Promise<void>;
    close: () => void;
};
export default useUploadCsv;
