/** * Navidrome MCP Server - Radio and lyrics switches, with the rule for files that predate them * Copyright (C) 2025 * SPDX-License-Identifier: AGPL-3.0-or-later */ import type { SettingsFile } from './store.js'; type StoredFeatures = NonNullable; export type FeatureSwitches = Pick; /** A file that names neither switch reads as off. */ export declare function resolveFeatureSwitches(features: StoredFeatures): { radio: boolean; lyrics: boolean; }; /** * Only the switches the file names, by its boolean or by a legacy key. The legacy keys give the * result the earlier settings page gave for each value it wrote, and a hand-edited lyricsProvider * other than lrclib now reads as off. */ export declare function readNamedFeatureSwitches(features: StoredFeatures): FeatureSwitches; /** LRCLIB is the only provider, so a hand edit such as "none" or "off" turns lookups off instead of on. */ export declare function isLrclibProvider(value: string | null | undefined, key: string): boolean; export {}; //# sourceMappingURL=feature-switches.d.ts.map