import { BoundingBox } from './boundingbox'; import { Note } from './note'; import { TextNoteStruct } from './textnote'; /** A timed music-font dynamic such as p, mf, sfz, or n (niente). */ export declare class TextDynamics extends Note { /** To enable logging for this class. Set `VexFlow.TextDynamics.DEBUG` to `true`. */ static DEBUG: boolean; static get CATEGORY(): string; protected sequence: string; protected line: number; /** The glyph data for each dynamics letter. */ static get GLYPHS(): Record; /** * Create the dynamics marking. * * A `TextDynamics` object inherits from `Note` so that it can be formatted * within a `Voice`. * * @param noteStruct an object that contains a `duration` property and the * dynamics letters in `text`. */ constructor(noteStruct: TextNoteStruct); /** Set the Stave line on which the note should be placed. */ setLine(line: number): this; /** Preformat the dynamics text. */ preFormat(): this; /** Measure at the same page coordinates used by draw(), after voice formatting. */ getBoundingBox(): BoundingBox; /** Draw the dynamics text on the rendering context. */ draw(): void; }