@stringsync/vexml
Version:
MusicXML to Vexflow
19 lines (18 loc) • 611 B
TypeScript
import { ScorePartwise } from './scorepartwise';
/**
* A wrapper around a root node that corresponds to a MusicXML document.
*
* See https://www.w3.org/2021/06/musicxml40/
*/
export declare class MusicXML {
private root;
constructor(root: Document);
/**
* Returns the first <score-partwise> of the document.
*
* @throws {errors.ParseError} when the root does not contain a <score-partwise> element. It does not check for deep validity.
*/
getScorePartwise(): ScorePartwise;
/** Returns the string representation of the document. */
getDocumentString(): string;
}