import { Beam } from './beam'; import { BoundingBox } from './boundingbox'; import type { SpanAnchor, SpanFragment } from './continuousspan'; import type { EasyScoreComposition } from './easyscore/composition'; import { StaveNote } from './stavenote'; type Member = { note: StaveNote; measure: number; }; /** Resolve an inclusive interval of the same voice on the same staff, in score order. */ export declare function beamMembers(score: EasyScoreComposition, from: SpanAnchor, to: SpanAnchor): Member[]; /** The source beam owns each note for the lifetime of the composition. Only the row pieces draw. */ export declare class ContinuousBeam extends Beam { private readonly members; private readonly cache; private placed; private complete; constructor(members: Member[]); /** An individual measure has incomplete coordinates. The row layout initiates each native fit. */ postFormat(): void; /** Release the previous row fits before the next pass through the score. */ clearRows(): void; /** Expose the completed geometry after every measure has its final position. */ finishRows(): void; /** Return final draw geometry to callers after all participating measures have settled. */ getStripBounds(): BoundingBox[]; getBoundingBox(): BoundingBox; /** A possible break can leave one note on a row. Its actual neighbor determines the continuing levels. */ private fitPiece; /** Fit the stems before the row measures its vertical ink. The caller releases this provisional fit. */ measureRow(first: number, last: number): Beam; /** Fit the final positions and report the same outer edge that will be drawn for this fragment. */ placeRow(first: number, last: number, row: number, id: string): SpanFragment; draw(): void; } export {};