1declare namespace ILyric { 2 export interface ILyricItem extends IMusic.IMusicItem { 3 /** 歌词(无时间戳) */ 4 rawLrcTxt?: string; 5 } 6 7 export interface ILyricSource { 8 /** @deprecated 歌词url */ 9 lrc?: string; 10 /** 纯文本格式歌词 */ 11 rawLrc?: string; 12 /** 纯文本格式的翻译 */ 13 translation?: string; 14 } 15 16 export interface IParsedLrcItem { 17 /** 时间 s */ 18 time: number; 19 /** 歌词 */ 20 lrc: string; 21 /** 下标 */ 22 index?: number; 23 } 24 25 export type IParsedLrc = IParsedLrcItem[]; 26} 27