/** * Navidrome MCP Server - Claude Desktop config file writer for `navidrome-mcp connect` * Copyright (C) 2025 * SPDX-License-Identifier: AGPL-3.0-or-later */ export declare const SERVER_NAME = "navidrome"; export interface McpServerEntry { command: string; args: string[]; } interface EntryOptions { absolute: boolean; platform: NodeJS.Platform; nodePath: string; indexJsPath: string; } interface ConfigPathOptions { platform: NodeJS.Platform; env: NodeJS.ProcessEnv; home: string; } export interface MergeResult { configPath: string; /** Null when the file did not exist or was left untouched. */ backupPath: string | null; replaced: boolean; /** True when the file already held this command and args, so nothing was written. */ unchanged: boolean; } export declare function buildServerEntry(options: EntryOptions): McpServerEntry; /** On Windows the Microsoft Store build of Claude Desktop keeps its config under its package folder, so those paths come first. */ export declare function claudeDesktopConfigPath(options: ConfigPathOptions): string; /** * Adds or replaces `mcpServers.navidrome` and keeps every other key, including the other keys of a stored * navidrome entry such as `env`. The old file is copied to `.bak` first. */ export declare function mergeServerEntry(configPath: string, entry: McpServerEntry): MergeResult; export {}; //# sourceMappingURL=claude-desktop.d.ts.map