/** * Navidrome MCP Server - Web remote guest management and ban routes * Copyright (C) 2025 * SPDX-License-Identifier: AGPL-3.0-or-later */ import type { IncomingMessage, ServerResponse } from 'node:http'; import type { AuthService } from '../auth/auth-service.js'; import type { GuestQueue } from '../jukebox/guest-queue.js'; type Guests = Pick; /** * `sharedCount` and `adminShares` let the panel warn that a network ban on this guest's address also * blocks those guests or an admin device. */ export declare function handleListGuests(res: ServerResponse, auth: AuthService, guests: Guests): void; /** The guest's songs stay queued, and the jukebox code lets the guest join again. */ export declare function handleRemoveGuest(req: IncomingMessage, res: ServerResponse, auth: AuthService): Promise; /** * The ban lands before the songs leave, so the guest loses access even when mpv fails. `songsStayed` * counts the queued songs no attached mpv could remove. A failed removal answers null for both and * leaves the cause in the log. */ export declare function handleBanGuest(req: IncomingMessage, res: ServerResponse, auth: AuthService, guests: Pick): Promise; export declare function handleListBans(res: ServerResponse, auth: AuthService): void; export declare function handleRemoveBan(req: IncomingMessage, res: ServerResponse, auth: AuthService): Promise; export {}; //# sourceMappingURL=jukebox-guests.d.ts.map