import { BoundingBox } from './boundingbox'; import type { Element } from './element'; import type { TiedBend } from './guitargesture'; import { Note } from './note'; import type { RenderContext } from './rendercontext'; /** A single system's portion of the bend. Only the attack owns a rise and only the arrival owns a release. */ export interface TiedBendDrawing { envelope: TiedBend; left: number; right: number; targetY: number; stringY: number; peakX?: number; releaseX?: number; bounds: BoundingBox; } /** Place each phase against its owner's duration, independently of how the available row widths change. */ export declare function layoutTiedBend(envelope: TiedBend, first: Note | undefined, last: Note | undefined, left: number, rowEnd: number, stringY: number, targetY: number, space: number, label: Element): TiedBendDrawing; /** The same curves, arrows and target label are used by SVG and Canvas. */ export declare function drawTiedBend(ctx: RenderContext, drawing: TiedBendDrawing, space: number, label: Element): void;