import { Beam } from './beam'; import { BoundingBox } from './boundingbox'; import { Formatter } from './formatter'; import { Modifier } from './modifier'; import { ModifierContextState } from './modifiercontext'; import { Note } from './note'; import { StaveTie } from './stavetie'; import { StemmableNote } from './stemmablenote'; import { TabTie } from './tabtie'; import { Voice } from './voice'; /** Named movements in the Highland light-music vocabulary. Pitches use written treble notation. */ declare const highlandPitches: { readonly grip: readonly ["g/4", "d/5", "g/4"]; readonly taorluath: readonly ["g/4", "d/5", "g/4", "e/5"]; }; /** A named Highland movement retains its identity even when the author supplies a variant. */ export type HighlandEmbellishment = keyof typeof highlandPitches; /** GraceNoteGroup is used to format and render grace notes. */ export declare class GraceNoteGroup extends Modifier { static DEBUG: boolean; static get CATEGORY(): string; private highlandName?; /** Make a beamed before-grace group. A variant supplies every written pitch in score order. */ static highland(name: HighlandEmbellishment, pitches?: readonly string[]): GraceNoteGroup; /** Identify a named movement. An explicitly constructed grace group has no assigned name. */ getHighlandName(): HighlandEmbellishment | undefined; protected readonly voice: Voice; protected readonly graceNotes: StemmableNote[]; protected readonly showSlur?: boolean; protected preFormatted: boolean; protected formatter?: Formatter; renderOptions: { slurYShift: number; }; protected slur?: StaveTie | TabTie; protected beams: Beam[]; /** Right-side material at the same onset must not move a before-grace cluster to the left. */ private afterWidth; private afterOffset; /** Opposing groups reserve their own side. Voices with simultaneous before-graces align at the host. */ static format(groups: GraceNoteGroup[], state: ModifierContextState): boolean; constructor(graceNotes: StemmableNote[], showSlur?: boolean); preFormat(): void; beamNotes(graceNotes?: StemmableNote[]): this; setWidth(width: number): this; getWidth(): number; getGraceNotes(): Note[]; /** Position grace notes after the parent has been formatted and assigned a stave. */ private positionGraceNotes; /** Enclose the positioned grace notes (not the slur). Drawing is not required. */ getBoundingBox(): BoundingBox; /** Positioned components, including the optional slur, shared with geometry consumers. */ getLayoutElements(): (Note | Beam | StaveTie)[]; draw(): void; } export {};