import type { createPerformer, PerformanceBar } from './performer'; import type { SourceRange } from '../score/source'; import type Artist from '../artist'; import type { ParsedScore } from '../score/model'; import type { Performance } from './transport'; /** Conduct from the lead meter. A held beat in another part also holds the ensemble. * Overlapping compound meters keep their written divisions, including at independent barlines. */ export declare function ensembleBars(tracks: PerformanceBar[][]): PerformanceBar[]; /** Traverse the chosen written measures, carrying sounding heads through adjacent ties. */ export declare function scorePerformance(score: ParsedScore, tempo: number, mark?: (id: string) => void, visits?: number[], take?: ReturnType, bars?: PerformanceBar[]): Performance; /** Fixed scores may contain fragments and text voices outside the shared parser's grammar. */ export declare function artistPerformance(artist: Artist, tempo: number): Performance; /** Keep legacy VexFlow getPlayNote() values intact while recording the physical sounding octave. */ interface FixedHead { key: string; release?: number; inherit?: { written: string; range: SourceRange; }; } export declare const fixedHeads: WeakMap; /** An implicit continuation can inherit a source accidental across the barline. */ export declare function tiedFixedHead(glyph: object, index: number): FixedHead | undefined; export declare function recordFixedTie(from: object, to: object, first: number[], last: number[]): void; export {};