import type { SoundcloudTrack, SoundcloudUserFilter, SoundcloudUserSearch, SoundcloudUser, SoundcloudWebProfile, SoundcloudPlaylist } from "../types"; import { API } from "../API"; export declare class Users { private readonly api; private readonly resolve; constructor(api: API); /** * Searches for users using the v2 API. */ search: (params?: SoundcloudUserFilter) => Promise; /** * Fetches a user from URL or ID using Soundcloud v2 API. */ get: (userResolvable: string | number) => Promise; /** * Gets all the tracks by the user using Soundcloud v2 API. */ tracks: (userResolvable: string | number) => Promise; /** * Gets all of a users liked tracks. */ likes: (userResolvable: string | number, limit?: number) => Promise; /** * Gets all the playlists by the user using Soundcloud v2 API. */ playlists: (userResolvable: string | number) => Promise; /** * Gets all the web profiles on a users sidebar. */ webProfiles: (userResolvable: string | number) => Promise; /** * Gets a user's followers. */ following: (userResolvable: string | number, limit?: number) => Promise; /** * Searches for users (web scraping) */ searchAlt: (query: string) => Promise; /** * Gets a user by URL (web scraping) */ getAlt: (url: string) => Promise; }