import type Artist from '../artist/Artist'; /** * VexTabParser translates the parsed Jison AST into concrete Artist calls. * It isolates the "semantic" phase of VexTab from the raw parse step. */ export declare class VexTabParser { private artist; /** * Create a compiler bound to an Artist. */ constructor(artist: Artist); /** * Create a standardized parse error that includes line/column information. */ private newError; /** * Parse and validate stave options into a simple key/value map. * Design note: validation happens here so the Artist stays focused on rendering. */ parseStaveOptions(options?: any[], element?: string): Record; /** * Dispatch a parsed command element to the Artist. */ parseCommand(element: any): void; /** * Convert a chord AST node into an Artist chord call. */ parseChord(element: any): void; /** * Convert a fret-based note AST node into an Artist note call. */ parseFret(note: any): void; /** * Convert an ABC note AST node into an Artist note call. */ parseABC(note: any): void; /** * Parse a list of stave elements (notes, chords, commands) into Artist calls. */ parseStaveElements(notes: any[]): void; /** * Parse stave text tokens into text voices and text notes. * Design note: this parser is permissive to preserve legacy VexTab behavior. */ parseStaveText(text_line: any[]): void; /** * Entry point to translate the parsed AST into Artist calls. * Design note: we handle each "stave" element sequentially to preserve order. */ generate(elements: any[]): void; }