/** * Navidrome MCP Server - Library Tools * Copyright (C) 2025 * SPDX-License-Identifier: AGPL-3.0-or-later */ import type { NavidromeClient } from '../client/navidrome-client.js'; import type { UserDetailsDTO, LibraryManagementResponse } from '../types/index.js'; interface LibraryTotals { totalSongs: number; totalAlbums: number; totalArtists: number; } /** * The library list reloads on every call, so a long-lived server reports current scans and new * libraries. */ export declare function getUserDetails(client: NavidromeClient): Promise; /** * X-Total-Count counts an artist shared by two libraries once and is readable by non-admins, * unlike the per-library stats. A count is null when Navidrome omits the header. */ export declare function fetchActiveLibraryCounts(client: NavidromeClient): Promise<{ [K in keyof LibraryTotals]: number | null; }>; export declare function setActiveLibraries(client: NavidromeClient, args: unknown): Promise; export {}; //# sourceMappingURL=library.d.ts.map