<commit_before>// Type definitions for lyric-parser 1.0
// Project: https://github.com/ustbhuangyi/lyric-parser
// Definitions by: <NAME> <https://github.com/wkl007>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export default class Lyric {
    constructor(lrc: string, handler: (params: { lineNum: number; txt: string }) => void);

    lrc: string;
    tags: { album: string; artist: string; by: string; offset: string; title: string };
    lines: string[];
    handler: (params: { lineNum: number; txt: string }) => void;
    state: number;
    curLine: number;

    play(startTime: number, skipLast?: boolean): void;

    togglePlay(): void;

    stop(): void;

    seek(offset: number): void;
}<commit_msg>Fix the type of lines of lyric-parser (#43671)<commit_after>// Type definitions for lyric-parser 1.0
// Project: https://github.com/ustbhuangyi/lyric-parser
// Definitions by: <NAME> <https://github.com/wkl007>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export default class Lyric {
    constructor(lrc: string, handler: (params: { lineNum: number; txt: string }) => void);

    lrc: string;
    tags: { album: string; artist: string; by: string; offset: string; title: string };
    lines: Array<{ time: number; txt: string }>;
    handler: (params: { lineNum: number; txt: string }) => void;
    state: number;
    curLine: number;

    play(startTime: number, skipLast?: boolean): void;

    togglePlay(): void;

    stop(): void;

    seek(offset: number): void;
}
{'fraction_non_alphanumeric': 0.15278688524590164, 'fraction_numerical': 0.009836065573770493, 'mean_word_length': 3.79874213836478, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 12, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6514346', 'n_tokens_mistral': 494, 'n_tokens_neox': 474, 'n_words': 141}