import { DeepReadonly, Ref } from 'vue';
import { FileState, Item as FileListItem } from '../FileList/FileList';
import { SelectedFile, UploadItem } from './types';
export default function useFileList(selectedFiles: Ref<SelectedFile[]>, uploadList: DeepReadonly<Ref<UploadItem[]>>): {
    addOrReplaceFile: (file: File, fileId: string, state?: FileState) => void;
    replaceFile: (file: File, item: SelectedFile, state?: FileState) => void;
    resetFile: (fileItem: FileListItem | SelectedFile) => void;
    setItemOnError: (fileId: string) => void;
    filledUploadList: import('vue').ComputedRef<FileListItem[]>;
};
