from transmission_rpc.torrent import Torrent as Torrent
from typing import Any

def format_torrent(torrent: Torrent) -> dict[str, Any]: ...
def filter_torrents(torrents: list[Torrent], statuses: list[str] | None = None) -> list[Torrent]: ...
def format_torrents(torrents: list[Torrent]) -> dict[str, dict[str, Any]]: ...
