import { Note } from './Note'; import { EachStyle } from './enums'; /** * Collection of notes that occur at the same time */ export declare class NoteCollection { /** * Time in seconds when these notes occur */ time: number; /** * How simultaneous notes should be displayed */ eachStyle: EachStyle; /** * Notes in this collection */ private notes; constructor(time: number); /** * Add a note to this collection */ addNote(note: Note): void; /** * Get note at index */ [index: number]: Note; /** * Access note by index */ get(index: number): Note; /** * Number of notes in this collection */ get length(): number; /** * Iterate over notes */ [Symbol.iterator](): Iterator; /** * Get all notes as array */ toArray(): Note[]; } export declare function createNoteCollection(time: number): NoteCollection; //# sourceMappingURL=NoteCollection.d.ts.map