import type Artist from './Artist'; /** * Handles articulations, annotations, tuplets, bends, and other note modifiers. * This file centralizes modifier logic so rendering/notation code stays focused. */ export declare class ArticulationBuilder { private artist; /** * Create a modifier builder bound to an Artist. */ constructor(artist: Artist); /** * Build a bend descriptor between two frets. */ private makeBend; /** * Start or extend a bend phrase across notes. */ openBends(first_note: any, last_note: any, first_indices: number[], last_indices: number[]): void; /** * Close any open bend phrases and apply them to the tab notes. */ closeBends(offset?: number): void; /** * Create tuplets for the most recent notes in the current stave. */ makeTuplets(tuplets: number, notes?: number): void; /** * Extract a fingering command from text, if present. */ private getFingering; /** * Parse a fingering annotation into modifiers that can be attached to notes. */ makeFingering(text: string): Array<{ num: number; modifier: any; }> | null; /** * Extract a stroke command from text, if present. */ private getStrokeParts; /** * Build a VexFlow stroke modifier from a stroke command string. */ makeStroke(text: string): any | null; /** * Extract score articulation parts from the annotation string. */ private getScoreArticulationParts; /** * Create a score articulation modifier from an annotation string. */ makeScoreArticulation(text: string): any | null; /** * Create a VexFlow Annotation modifier, with optional font overrides. */ makeAnnotation(text: string): any | null; /** * Normalize override text for fret annotations (e.g., A#4 or 5/2). */ formatOverrideFretText(text: string): { text: string; string?: string; } | null; /** * Apply a text override to a tab note's fret rendering. */ applyFretOverride(tab_note: any, override: { text: string; string?: string; }): void; /** * Add annotation modifiers to the most recent notes in the stave group. */ addAnnotations(annotations: string[]): void; /** * Add a tab articulation between two notes (slides, ties, bends, etc.). */ addTabArticulation(type: string, first_note: any, last_note: any, first_indices: number[], last_indices: number[]): void; /** * Add a notation stave articulation between two notes. */ addStaveArticulation(type: string, first_note: any, last_note: any, first_indices: number[], last_indices: number[]): void; /** * Find the previous (second-to-last) pitched attack, allowing ties across written barlines. */ private getPreviousNoteIndex; /** * Add a decorator (vibrato, up/down bowing) to the latest notes. */ addDecorator(decorator: string | null): void; /** * Add articulations for the most recent tab/note entries. */ addArticulations(articulations: Array): void; }