/** * Navidrome MCP Server - Test Tool * Copyright (C) 2025 * SPDX-License-Identifier: AGPL-3.0-or-later */ import type { NavidromeClient } from '../client/navidrome-client.js'; import type { Config } from '../config.js'; interface TestConnectionResult { success: true; message: string; navidrome: { serverVersion: string | null; subsonicApiVersion: string | null; openSubsonic: boolean; scanning: boolean | null; lastScan: string | null; }; /** Covers the active libraries. A count is null when Navidrome did not report it. */ library: { totalSongs: number | null; totalAlbums: number | null; totalArtists: number | null; }; serverInfo?: { url: string; authenticated: boolean; timestamp: string; mcpServerVersion: string; features?: { lastfm: { enabled: boolean; description: string; tools: string[]; }; radioBrowser: { enabled: boolean; description: string; tools: string[]; }; lyrics: { enabled: boolean; description: string; tools: string[]; }; playback: { enabled: boolean; description: string; tools: string[]; }; }; }; } export declare function testConnection(client: NavidromeClient, config: Config, args: unknown): Promise; export {}; //# sourceMappingURL=test.d.ts.map