import "./visually-hidden.css"; import Component from "@glimmer/component"; import { DragState } from "./file-drop/files.ts"; import type Owner from "@ember/owner"; interface FileArgs { /** * Called with the files that match `@accept`. * It is not called when no file matches. */ onFiles: (files: File[]) => void; /** * Which files to take, in the format of the `accept` attribute * of ``, for example `"video/*,.mkv"`. * * The file picker shows only these files. * A drop of other files does nothing. */ accept?: string; /** * Take more than one file. Without it, only the first file that matches. */ multiple?: boolean; } export interface Signature { /** * A `