import Konva from 'konva';
import { TimeMs, Theme } from '../../core/models';
export declare class Playhead {
    private layer;
    private playheadGroup;
    private playheadLine;
    private playheadTriangle;
    private theme;
    private currentTime;
    private zoom;
    private scrollLeft;
    private onTimeChange;
    private isDragging;
    constructor(layer: Konva.Layer, initialTime: TimeMs, zoom: number, height: number, theme: Theme, onTimeChange: (time: TimeMs) => void);
    private initEventListeners;
    private handleMouseMove;
    setTime(time: TimeMs): void;
    setZoom(zoom: number): void;
    setScrollLeft(scrollLeft: number): void;
    setHeight(height: number): void;
    render(): void;
    getTime(): TimeMs;
    /**
     * 获取播放头组
     */
    getPlayheadGroup(): Konva.Group;
}
