import { ISliderWidget } from '../types/widgets'; import { BaseWidget, DrawWidgetOptions, WidgetEventOptions } from './BaseWidget'; export declare class SliderWidget extends BaseWidget implements ISliderWidget { type: "slider"; marker?: number; /** * Draws the widget * @param ctx The canvas context * @param options The options for drawing the widget */ drawWidget(ctx: CanvasRenderingContext2D, { width, showText, }: DrawWidgetOptions): void; /** * Handles click events for the slider widget */ onClick(options: WidgetEventOptions): void; /** * Handles drag events for the slider widget */ onDrag(options: WidgetEventOptions): false | undefined; }