wave-roll
Version:
JavaScript Library for Comparative MIDI Piano-Roll Visualization
51 lines • 1.43 kB
TypeScript
/**
* File Toggle Manager - Refactored version
* Manages file visibility and per-file audio controls using modular components
*/
import { UIComponentDependencies } from "@/lib/components/ui";
/**
* Manages file visibility and per-file audio controls.
*/
export declare class FileToggleManager {
/**
* Setup the file toggle section
*/
static setupFileToggleSection(playerContainer: HTMLElement, dependencies: UIComponentDependencies): HTMLElement;
/**
* Create header with title and control buttons
*/
private static createHeader;
/**
* Create settings button
*/
private static createSettingsButton;
/**
* Create evaluation results button
*/
private static createEvaluationButton;
/**
* Create WAV files section
*/
private static createWavSection;
/**
* Create MIDI files section
*/
private static createMidiSection;
/**
* Update the file toggle section
*/
static updateFileToggleSection(fileToggleContainer: HTMLElement, dependencies: UIComponentDependencies): void;
/**
* Update section visibility based on file counts
*/
private static updateSectionVisibility;
/**
* Update MIDI file controls
*/
private static updateMidiFiles;
/**
* Update WAV file controls
*/
private static updateWavFiles;
}
//# sourceMappingURL=toggle-manager.d.ts.map