import type { albumType, artistInfoType, playlistInfo, trackType } from '../types'; declare type linkType = 'track' | 'album' | 'artist' | 'playlist'; export declare type urlPartsType = { id: string; type: 'track' | 'album' | 'audiobook' | 'artist' | 'playlist' | 'qobuz-track' | 'qobuz-album' | 'qobuz-playlist' | 'qobuz-artist' | 'spotify-track' | 'spotify-album' | 'spotify-playlist' | 'spotify-artist' | 'tidal-track' | 'tidal-album' | 'tidal-playlist' | 'tidal-artist' | 'youtube-track'; }; export declare const getUrlParts: (url: string, setToken?: boolean) => Promise; /** * Deezer, Spotify or Tidal links only * @param {String} url */ export declare const parseInfo: (url: string) => Promise<{ info: urlPartsType; linktype: linkType; linkinfo: Record | artistInfoType | albumType | playlistInfo; tracks: trackType[]; }>; export {};