@stringsync/vexml
Version:
MusicXML to Vexflow
19 lines (18 loc) • 580 B
TypeScript
import * as data from '../data';
import { Config } from '../config';
import { Formatter } from './types';
import { Logger } from '../debug';
export type MaxMeasureFormatterOptions = {
config?: Config;
logger?: Logger;
};
/**
* A formatter that limits the number of measures per system.
*/
export declare class MaxMeasureFormatter implements Formatter {
private maxMeasuresPerSystemCount;
private config;
private log;
constructor(maxMeasuresPerSystemCount: number, opts?: MaxMeasureFormatterOptions);
format(document: data.Document): data.Document;
}