import type { trackType } from '../types'; export declare class WrongLicense extends Error { constructor(format: string); } export declare class GeoBlocked extends Error { constructor(country: string); } /** * @param track Track info json returned from `getTrackInfo` * @param quality 1 = 128kbps, 3 = 320kbps and 9 = flac (around 1411kbps) */ export declare const getTrackDownloadUrl: (track: trackType, quality: number) => Promise<{ trackUrl: string; isEncrypted: boolean; fileSize: number; } | null>;