UNPKG

andrade-soulseek-downloader

Version:

Simple, safe Soulseek download library with built-in rate limiting to prevent bans

47 lines 1.08 kB
/** * Interactive Soulseek-only CLI mode. * Allows user to search, select files manually, and retry on failures. */ export declare class InteractiveSoulseek { private downloader; private logger; private isRunning; constructor(); /** * Checks if user wants to quit. */ private isQuitCommand; /** * Displays welcome header. */ private displayWelcome; /** * Gets search query from user. */ private getSearchQuery; /** * Formats a result for display in the selection menu. */ private formatResult; /** * Gets user file selection with arrow keys. */ private getUserSelection; /** * Performs search with user query. */ private performSearch; /** * Attempts to download selected file. */ private attemptDownload; /** * Main interactive loop. */ run(): Promise<void>; } /** * Entry point for interactive mode. */ export declare function runInteractiveSoulseek(): Promise<void>; //# sourceMappingURL=interactive-soulseek.d.ts.map