wave-roll
Version:
JavaScript Library for Comparative MIDI Piano-Roll Visualization
16 lines • 710 B
TypeScript
import { FileInputOptions, FileLoadOptions } from "./types";
import { FileManager } from "./file-manager";
/**
* Create a file input element for file selection
* @param options - Configuration options for the file input
* @returns HTMLInputElement configured for MIDI file selection
*/
export declare function createFileInput(options?: FileInputOptions): HTMLInputElement;
/**
* Handle file drop event
* @param event - Drop event from drag and drop
* @param options - Loading options
* @returns Promise that resolves to loaded file IDs
*/
export declare function handleFileDrop(fileManager: FileManager, event: DragEvent, options?: FileLoadOptions): Promise<string[]>;
//# sourceMappingURL=ui.d.ts.map