import { Pool } from "undici"; export declare class API { clientId?: string; oauthToken?: string; static headers: Record; api: Pool; apiV2: Pool; web: Pool; proxy?: Pool; constructor(clientId?: string, oauthToken?: string, proxy?: string); get headers(): Record; /** * Gets an endpoint from the Soundcloud API. */ get: (endpoint: string, params?: Record) => Promise; /** * Gets an endpoint from the Soundcloud V2 API. */ getV2: (endpoint: string, params?: Record) => Promise; /** * Some endpoints use the main website as the URL. */ getWebsite: (endpoint: string, params?: Record) => Promise; /** * Gets a URL, such as download, stream, attachment, etc. */ getURL: (URI: string, params?: Record) => Promise; private readonly buildOptions; private readonly request; private readonly getRequest; post: (endpoint: string, params?: Record) => Promise; getClientIdWeb: () => Promise; getClientIdMobile: () => Promise; getClientId: (reset?: boolean) => Promise; }