/** * Navidrome MCP Server - Local Lyrics Tag Parser * Copyright (C) 2025 * SPDX-License-Identifier: AGPL-3.0-or-later */ import type { LyricsLine } from '../types/index.js'; /** * How long the final synced line is held when neither a later marker nor a * track duration bounds it. `endMs` is required, so some bound must exist. */ export declare const LAST_LINE_FALLBACK_MS = 5000; /** Empty text marks an end boundary rather than a line. */ export interface TimedMarker { readonly timeMs: number; readonly text: string; } export interface LocalLyricsResult { readonly hasSynced: boolean; readonly synced?: LyricsLine[]; readonly unsynced?: string; } export declare function buildTimedLines(markers: readonly TimedMarker[], durationMs?: number): LyricsLine[]; /** Every malformed shape yields null, so a bad tag on one row never fails a listing or a lookup. */ export declare function parseLocalLyrics(raw: unknown, durationMs?: number): LocalLyricsResult | null; //# sourceMappingURL=lyrics-tag.d.ts.map