import { GlyphNote } from './glyphnote'; import { Glyphs } from './glyphs'; import { Stave, StaveOptions } from './stave'; /** A C clef marks written middle C. An F clef marks the F below it. */ export type ChantClef = 'C' | 'F'; /** Chant counts its four lines upwards, starting with 1 at the bottom. */ export type ChantLine = 1 | 2 | 3 | 4; export interface ChantStaveOptions extends Omit { clef?: ChantClef; line?: ChantLine; } /** Render square chant and resolve pitches against the same movable clef. */ export declare class ChantStave extends Stave { private readonly chantClef; /** Default to C on line three or F on line two. Chant uses explicit phrase endings. */ constructor(x: number, y: number, width: number, options?: ChantStaveOptions); /** Replace the clef in place. The next layout uses its new width and pitch anchor. */ setChantClef(clef: ChantClef, line: ChantLine): this; /** Return the drawing line from the top. Neighboring written pitches are half a space apart. */ getLineForPitch(pitch: string): number; /** Return the written pitch's y coordinate in this stave. */ getYForPitch(pitch: string): number; } /** The four phrase endings in order from the shortest pause to the end of a piece. */ declare const divisionGlyphs: { readonly minima: Glyphs.chantDivisioMinima; readonly maior: Glyphs.chantDivisioMaior; readonly maxima: Glyphs.chantDivisioMaxima; readonly finalis: Glyphs.chantDivisioFinalis; }; export type ChantDivisionKind = keyof typeof divisionGlyphs; /** Chant divisions reserve horizontal ink in a Voice without consuming musical time. */ export declare class ChantDivision extends GlyphNote { constructor(kind: ChantDivisionKind); /** Change the mark in place while preserving its position in the voice. */ setKind(kind: ChantDivisionKind): this; /** Size the strokes to the actual staff spacing so maxima and finalis reach both outer lines. */ setStave(stave: Stave): this; } export {};