import type { Lyrics } from './lyrics'; type LyricsPlayerEventPair = ['linechange', (currentLine: string, index: number) => void] | ['lyricschange', () => void]; export declare class LyricsPlayer { lyrics: Lyrics; currentTime: number; private _currentLine; private _subscriptions; constructor(lyrics: Lyrics); updateTime(time: number): void; getCurrentLine(): string; getCurrentIndex(): number; on(...[e, handler]: T): void; off(e?: T[0]): void; off(e?: T[0], handler?: T[1]): void; rewind(lyrics?: Lyrics): void; } export {};