from aiopyarr import Diskspace as Diskspace, SonarrCalendar as SonarrCalendar, SonarrEpisode as SonarrEpisode, SonarrQueue as SonarrQueue, SonarrSeries as SonarrSeries, SonarrWantedMissing as SonarrWantedMissing
from typing import Any

def format_queue_item(item: Any, base_url: str | None = None) -> dict[str, Any]: ...
def format_queue(queue: SonarrQueue, base_url: str | None = None) -> dict[str, dict[str, Any]]: ...
def format_series(series_list: list[SonarrSeries], base_url: str | None = None) -> dict[str, dict[str, Any]]: ...

SPACE_UNITS: dict[str, int]

def format_diskspace(disks: list[Diskspace], space_unit: str = 'bytes') -> dict[str, dict[str, Any]]: ...
def _format_series_images(series: Any, base_url: str | None = None) -> dict[str, str]: ...
def format_upcoming_item(episode: SonarrCalendar, base_url: str | None = None) -> dict[str, Any]: ...
def format_upcoming(calendar: list[SonarrCalendar], base_url: str | None = None) -> dict[str, dict[str, Any]]: ...
def format_wanted_item(item: Any, base_url: str | None = None) -> dict[str, Any]: ...
def format_wanted(wanted: SonarrWantedMissing, base_url: str | None = None) -> dict[str, dict[str, Any]]: ...
def format_episode(episode: SonarrEpisode) -> dict[str, Any]: ...
def format_episodes(episodes: list[SonarrEpisode], season_number: int | None = None) -> dict[str, dict[str, Any]]: ...
