/** * Navidrome MCP Server - Settings store → flat Config projection * Copyright (C) 2025 * SPDX-License-Identifier: AGPL-3.0-or-later */ import type { Config, RawConfigInput } from './schema.js'; import type { SettingsFile } from './store.js'; type StoredWebuiAuth = NonNullable['auth']; /** * A Config issue path starts with a projection key such as `navidromeUrl`, and a person editing * settings.json needs the file's key, such as `navidrome.url`. Nested keys share their store names. */ export declare function storePathOf(issuePath: readonly PropertyKey[]): string; /** * An explicit host wins over `expose`, so a stored pair that disagrees binds where `expose` does not * say. Only a pair with both keys set counts, and the transport pair only for an http transport. */ export declare function findBindConflicts(settings: SettingsFile): string[]; /** A running player re-reads these values from the store too, so it fills an absent key with the same default as startup. */ export declare function mapStoreWebuiAuth(auth: StoredWebuiAuth): Config['webui']['auth']; /** `mpvPath` is the caller's resolved mpv binary, and null turns playback off. */ export declare function mapStoreToConfig(settings: SettingsFile, mpvPath: string | null): RawConfigInput; export {}; //# sourceMappingURL=map-config.d.ts.map