/** * Marker class representing a custom marker on the fretboard */ import type { Marker as MarkerInterface, MarkerOptions, Position } from './types'; /** * Represents a custom marker that can be added to the fretboard */ export declare class Marker implements MarkerInterface { /** Unique identifier */ readonly id: string; /** Fret position (1-based) */ readonly fretIndex: number; /** String position (0-based) */ readonly stringIndex: number; /** Marker options */ readonly options: MarkerOptions; /** * Creates a new Marker instance * @param fretIndex - 1-based fret position * @param stringIndex - 0-based string position * @param options - Marker styling/behavior options * @param id - Optional custom ID (auto-generated if not provided) */ constructor(fretIndex: number, stringIndex: number, options?: MarkerOptions, id?: string); /** * Returns the marker's position based on fretboard geometry * Note: Actual coordinates are calculated by Fretboard class */ getPosition(): Position; /** * Returns whether this marker is at a specific position */ isAt(fretIndex: number, stringIndex: number): boolean; /** * Returns CSS class name for this marker */ getCssClass(): string; /** * Updates marker options */ update(options: Partial): Marker; /** * Resets the marker ID counter (for testing) */ static resetIdCounter(): void; } //# sourceMappingURL=Marker.d.ts.map