import type { Ref } from "vue";
import type { AttachmentEmits, AttachmentProps, FileItem } from "./attachment-types";
export declare function useUpload(props: AttachmentProps, emit: AttachmentEmits, inputRef: Ref<HTMLInputElement | undefined>, fileList: Ref<FileItem[]>): {
    isDisabled: import("vue").ComputedRef<boolean>;
    handleClick: () => void;
    handleFileChange: (e: Event) => void;
    uploadFiles: (files: File[]) => Promise<void>;
};
