import { AddTorrentParams, MainData, Preferences, QBittorrentConfig, TorrentFile, TorrentFileInput, TorrentInfo, TorrentInfoParams, TorrentPeer, TorrentPeersResponse, TorrentProperties, TorrentState, TorrentTracker, TransferInfo } from "./schemas.cjs"; //#region src/client.d.ts declare class QBittorrentClient { private config; private sid; private loggedIn; private loginPromise; constructor(config: QBittorrentConfig); private fetch; private baseUrl; private login; private doLogin; private get; private post; private request; private hashes; info(params?: TorrentInfoParams): Promise; properties(hash: string): Promise; files(hash: string): Promise; trackers(hash: string): Promise; pieceStates(hash: string): Promise; add(params: AddTorrentParams): Promise; delete(hashes: string[], deleteFiles?: boolean): Promise; start(hashes: string[]): Promise; stop(hashes: string[]): Promise; recheck(hashes: string[]): Promise; reannounce(hashes: string[]): Promise; setDownloadLimit(hashes: string[], limit: number): Promise; setUploadLimit(hashes: string[], limit: number): Promise; setShareLimits(hashes: string[], ratioLimit: number, seedingTimeLimit: number, inactiveSeedingTimeLimit: number, shareLimitAction?: number): Promise; setLocation(hashes: string[], location: string): Promise; rename(hash: string, name: string): Promise; renameFile(hash: string, oldPath: string, newPath: string): Promise; renameFolder(hash: string, oldPath: string, newPath: string): Promise; filePrio(hash: string, fileIds: number[], priority: number): Promise; topPrio(hashes: string[]): Promise; increasePrio(hashes: string[]): Promise; decreasePrio(hashes: string[]): Promise; bottomPrio(hashes: string[]): Promise; setForceStart(hashes: string[], value: boolean): Promise; torrentPeers(hash: string, rid?: number): Promise; mainData(): Promise; transferInfo(): Promise; speedLimitsMode(): Promise; toggleSpeedLimitsMode(): Promise; setGlobalDownloadLimit(limit: number): Promise; setGlobalUploadLimit(limit: number): Promise; version(): Promise; webapiVersion(): Promise; preferences(): Promise; setPreferences(prefs: Partial): Promise; defaultSavePath(): Promise; shutdown(): Promise; } //#endregion //#region src/error.d.ts declare class HTTPError extends Error { readonly status: number; readonly body?: string | undefined; constructor(status: number, message: string, body?: string | undefined); } declare class QBittorrentError extends Error { constructor(message: string); } declare class RequestTimeoutError extends Error { readonly timeoutMs: number; constructor(timeoutMs: number); } //#endregion export { type AddTorrentParams, HTTPError, type MainData, type Preferences, type QBittorrentConfig, QBittorrentError, RequestTimeoutError, type TorrentFile, type TorrentFileInput, type TorrentInfo, type TorrentInfoParams, type TorrentPeer, type TorrentPeersResponse, type TorrentProperties, type TorrentState, type TorrentTracker, type TransferInfo, QBittorrentClient as default };