UNPKG

justlyrics

Version:

A comprehensive TypeScript library for parsing, converting, and processing various lyric formats including LRC, ALRC, YRC, QRC, and more

37 lines 1.08 kB
import { CoreLyric, LyricIO } from './lyric'; export declare namespace ATTForeign { interface KV { key: string; value: string[]; } interface Line { id: string; words: Word[]; translatedLyric: string; romanLyric: string; isBG: boolean; isDuet: boolean; startTime: number; endTime: number; ignoreSync: boolean; } interface Word { id: string; word: string; startTime: number; endTime: number; obscene: boolean; emptyBeat: number; } interface Lyric { metadata: KV[]; lyricLines: Line[]; } } export declare function attLinesToCoreLyric(lines: ATTForeign.Line[]): CoreLyric.SyllableSyncedLine[]; export declare function attKvToObject(kv: ATTForeign.KV[]): { [key: string]: string[]; }; export declare function attMetaToLrcHeader(metaKv: ATTForeign.KV[]): string; export declare function attMetaToYrcHeader(metaKv: ATTForeign.KV[]): LyricIO.Dumping.YRC.HeaderLine[]; //# sourceMappingURL=amll.d.ts.map