import { BoundingBox } from './boundingbox'; import { Builder } from './easyscore'; import { Modifier } from './modifier'; import { ModifierContextState } from './modifiercontext'; import { StemmableNote } from './stemmablenote'; export declare class FretHandFinger extends Modifier { static get CATEGORY(): string; static format(nums: FretHandFinger[], state: ModifierContextState): boolean; static easyScoreHook({ fingerings }: { fingerings?: string; } | undefined, note: StemmableNote, builder: Builder): void; private drawCircle; protected xOffset: number; protected yOffset: number; /** Typed pitched heads use measured columns. Legacy fingerings keep their individual offsets. */ private readonly headPlacement; constructor(finger: string, options?: { headPlacement?: boolean; }); /** Enclose the fingering in a circle without changing the authored finger label. */ setDrawCircle(drawCircle: boolean): this; /** Reserve enough room for the complete enclosure at the current font size. */ getWidth(): number; setFretHandFinger(finger: string): this; getFretHandFinger(): string; setOffsetX(x: number): this; setOffsetY(y: number): this; /** Two renderer pixels between a typed side label and the adjacent head or accidental column. */ private static readonly headGap; /** Gather the digits in this column once per placement, keeping the highest written pitch at the top. */ private headColumn; /** Place side digits near their own staff lines and separate the ink on close intervals. */ private sideBaseline; /** Stack from the outside of the stave, heads, stem, flag and articulations on the requested side. */ private outsideBaseline; /** Use the same formatted coordinates in the screen renderer, staff fitter and publication. */ private headOrigin; /** Resolve the digit baseline and optional circle from the same head anchor used for drawing. */ private placement; /** Return the digit ink and its enclosing circle when drawn. */ getInkParts(): BoundingBox[]; draw(): void; }