/** * Navidrome MCP Server - Last.fm API Client * Copyright (C) 2025 * SPDX-License-Identifier: AGPL-3.0-or-later */ import type { Config } from '../config.js'; /** The Last.fm tools register only with a key, so this guard narrows the type for callers. */ export declare function requireLastFmApiKey(config: Config): string; export declare function callLastFmApi(method: string, params: Record, apiKey: string): Promise>; /** * Last.fm sends a one-element container as a bare object instead of an array, such as the track * list of a one-track album. */ export declare function asLastFmArray(value: unknown): Array>; /** Every Last.fm wiki summary ends with a "Read more on Last.fm" link that carries no content. */ export declare function stripWikiHtml(html: string): string | null; //# sourceMappingURL=lastfm.d.ts.map