///
import { _YTMusic } from './ytmusic';
/**
* Allows automated interactions with YouTube Music by emulating the YouTube web client's requests.
* Permits both authenticated and non-authenticated requests.
* Authentication header data must be provided on initialization.
* @param {_YTMusicConstructorOptions} [options=] Options object.
* @param {string | object} [options.auth=] Provide a string (raw headers), object, or path (Node only!),
* Authentication credentials are needed to manage your library.
* Should be an adjusted version of `headers_auth.json.example` in the project root.
* See `setup` for how to fill in the correct credentials.
* If not provided, a default header is used without authentication.
* @param {string} [options.user=] Specify a user ID string to use in requests.
* This is needed if you want to send requests on behalf of a brand account.
* Otherwise the default account is used. You can retrieve the user ID
* by going to https://myaccount.google.com/brandaccounts and selecting your brand account.
* The user ID will be in the URL: https://myaccount.google.com/b/user_id/
* @param {} [options.httpsAgent] Optional. Define an HTTP proxy for your request.
* @param {AxiosProxyConfig} [options.proxies] Optional. Define an HTTP proxy for your request.
* @param {string} [options.language] Optional. Can be used to change the language of returned data.
* English will be used by default. Available languages can be checked in
* the ytmusicapi/locales directory.
*/
declare const YTMusic: {
new (...args: any[]): {
getLibraryUploadSongs(options?: import("./mixins/uploads.types").uploadsOptions | undefined): Promise;
getLibraryUploadSongs(limit?: number | undefined, order?: import("./mixins/library.types").Order | undefined): Promise;
getLibraryUploadAlbums(options?: import("./mixins/uploads.types").uploadsOptions | undefined): Promise;
getLibraryUploadAlbums(limit?: number | undefined, order?: import("./mixins/library.types").Order | undefined): Promise;
getLibraryUploadArtists(options?: import("./mixins/uploads.types").uploadsOptions | undefined): Promise;
getLibraryUploadArtists(limit?: number | undefined, order?: import("./mixins/library.types").Order | undefined): Promise;
getLibraryUploadArtist(browseId: string, limit?: number): Promise;
getLibraryUploadAlbum(browseId: string): Promise;
uploadSong(filepath: string): Promise | "STATUS_SUCCEEDED">;
deleteUploadEntity(entityId: string): Promise | "STATUS_SUCCEEDED">;
getLibraryPlaylists(limit?: number): Promise;
getLibrarySongs(options?: {
limit?: number | undefined;
validateResponse?: boolean | undefined;
order?: import("./mixins/library.types").Order | undefined;
} | undefined): Promise;
getLibraryAlbums(options?: {
limit?: number | undefined;
order?: import("./mixins/library.types").Order | undefined;
} | undefined): Promise;
getLibraryArtists(options?: {
limit?: number | undefined;
order?: import("./mixins/library.types").Order | undefined;
} | undefined): Promise;
getLibrarySubscriptions(options?: {
limit?: number | undefined;
order?: import("./mixins/library.types").Order | undefined;
} | undefined): Promise;
getLikedSongs(limit?: number): Promise>;
getHistory(): Promise;
removeHistoryItems(feedbackTokens: any[]): Promise>;
rateSong(videoId: string, rating?: import("./mixins/library.types").Rating): Promise>;
editSongLibraryStatus(feedbackTokens: string[]): Promise>;
ratePlaylist(playlistId: string, rating?: import("./mixins/library.types").Rating): Promise>;
subscribeArtists(channelIds: string[]): Promise>;
unsubscribeArtists(channelIds: string[]): Promise>;
getPlaylist(playlistId: string, limit?: number): Promise;
getPlaylistSuggestions(suggestionsToken: string): Promise>;
createPlaylist(title: string, options?: {
description?: string | undefined;
privacyStatus?: import("./mixins/playlists.types").PrivacyStatus | undefined;
videoIds?: string[] | undefined;
sourcePlaylist?: string | undefined;
} | undefined): Promise>;
createPlaylist(title: string, description?: string | undefined, options?: {
privacyStatus?: import("./mixins/playlists.types").PrivacyStatus | undefined;
videoIds?: string[] | undefined;
sourcePlaylist?: string | undefined;
} | undefined): Promise>;
editPlaylist(playlistId: string, options: {
title?: string | undefined;
description?: string | null | undefined;
privacyStatus?: import("./mixins/playlists.types").PrivacyStatus | undefined;
moveItem?: [string, string] | undefined;
addPlaylistId?: string | undefined;
}): Promise>;
deletePlaylist(playlistId: string): Promise>;
addPlaylistItems(playlistId: string, options: {
videoIds: string[];
sourcePlaylist: string;
duplicates: boolean;
}): Promise;
removePlaylistItems(playlistId: string, videos: Record[]): Promise;
getMoodCategories(): Promise;
getMoodPlaylists(params: string): Promise;
getCharts(country?: string): Promise>;
getWatchPlaylist(watchPlaylist: import("./mixins/watch.types").getWatchPlaylistOptions): Promise;
getWatchPlaylistShuffle(options: import("./mixins/watch.types").getWatchPlaylistShuffleOptions): Promise>;
getHome(limit?: number): Promise;
search(query: string, options?: {
filter?: undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "songs" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "videos" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "albums" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "artists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Artists";
resultType: "artist";
browseId: string;
artist: string;
shuffleId: string;
radioId: string;
}, "category"> & {
category: "Artists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "community_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "featured_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "uploads" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise;
getArtist(channelId: string): Promise;
getArtistAlbums(channelId: string, params: string): Promise;
getUser(channelId: string): Promise;
getUserPlaylists(channelId: string, params: string): Promise;
getAlbumBrowseId(audioPlaylistId: `OLAK5uy_${string}`): Promise<`MPREb_${string}`>;
getAlbum(browseId: string): Promise;
getSong(videoId: string, signatureTimestamp?: number | undefined): Promise>;
getLyrics(browseId: string | null | undefined): Promise;
getBaseJSUrl(): Promise;
getSignatureTimestamp(url?: string | undefined): Promise;
"__#2@#auth": string | null;
_httpsAgent: import("https").Agent | undefined;
_proxies?: false | import("axios").AxiosProxyConfig | undefined;
_headers: import("./types").Headers;
_context: any;
"__#2@#language": string | undefined;
_parser: import("./parsers/browsing").Parser;
_sapisid: any;
_sendRequest>(endpoint: string, body: Record, additionalParams?: string): Promise;
_sendGetRequest(url: string, params?: Record | undefined): Promise;
checkAuth(): any | null;
_checkAuth(): void;
getAuth(): string | null;
changeLanguage(language: string): Promise;
getLanguage(): string | undefined;
getProxy(): boolean | import("axios").AxiosProxyConfig | undefined;
};
} & {
new (...args: any[]): {
getLibraryPlaylists(limit?: number): Promise;
getLibrarySongs(options?: {
limit?: number | undefined;
validateResponse?: boolean | undefined;
order?: import("./mixins/library.types").Order | undefined;
} | undefined): Promise;
getLibraryAlbums(options?: {
limit?: number | undefined;
order?: import("./mixins/library.types").Order | undefined;
} | undefined): Promise;
getLibraryArtists(options?: {
limit?: number | undefined;
order?: import("./mixins/library.types").Order | undefined;
} | undefined): Promise;
getLibrarySubscriptions(options?: {
limit?: number | undefined;
order?: import("./mixins/library.types").Order | undefined;
} | undefined): Promise;
getLikedSongs(limit?: number): Promise>;
getHistory(): Promise;
removeHistoryItems(feedbackTokens: any[]): Promise>;
rateSong(videoId: string, rating?: import("./mixins/library.types").Rating): Promise>;
editSongLibraryStatus(feedbackTokens: string[]): Promise>;
ratePlaylist(playlistId: string, rating?: import("./mixins/library.types").Rating): Promise>;
subscribeArtists(channelIds: string[]): Promise>;
unsubscribeArtists(channelIds: string[]): Promise>;
getPlaylist(playlistId: string, limit?: number): Promise;
getPlaylistSuggestions(suggestionsToken: string): Promise>;
createPlaylist(title: string, options?: {
description?: string | undefined;
privacyStatus?: import("./mixins/playlists.types").PrivacyStatus | undefined;
videoIds?: string[] | undefined;
sourcePlaylist?: string | undefined;
} | undefined): Promise>;
createPlaylist(title: string, description?: string | undefined, options?: {
privacyStatus?: import("./mixins/playlists.types").PrivacyStatus | undefined;
videoIds?: string[] | undefined;
sourcePlaylist?: string | undefined;
} | undefined): Promise>;
editPlaylist(playlistId: string, options: {
title?: string | undefined;
description?: string | null | undefined;
privacyStatus?: import("./mixins/playlists.types").PrivacyStatus | undefined;
moveItem?: [string, string] | undefined;
addPlaylistId?: string | undefined;
}): Promise>;
deletePlaylist(playlistId: string): Promise>;
addPlaylistItems(playlistId: string, options: {
videoIds: string[];
sourcePlaylist: string;
duplicates: boolean;
}): Promise;
removePlaylistItems(playlistId: string, videos: Record[]): Promise;
getMoodCategories(): Promise;
getMoodPlaylists(params: string): Promise;
getCharts(country?: string): Promise>;
getWatchPlaylist(watchPlaylist: import("./mixins/watch.types").getWatchPlaylistOptions): Promise;
getWatchPlaylistShuffle(options: import("./mixins/watch.types").getWatchPlaylistShuffleOptions): Promise>;
getHome(limit?: number): Promise;
search(query: string, options?: {
filter?: undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "songs" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "videos" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "albums" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "artists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Artists";
resultType: "artist";
browseId: string;
artist: string;
shuffleId: string;
radioId: string;
}, "category"> & {
category: "Artists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "community_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "featured_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "uploads" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise;
getArtist(channelId: string): Promise;
getArtistAlbums(channelId: string, params: string): Promise;
getUser(channelId: string): Promise;
getUserPlaylists(channelId: string, params: string): Promise;
getAlbumBrowseId(audioPlaylistId: `OLAK5uy_${string}`): Promise<`MPREb_${string}`>;
getAlbum(browseId: string): Promise;
getSong(videoId: string, signatureTimestamp?: number | undefined): Promise>;
getLyrics(browseId: string | null | undefined): Promise;
getBaseJSUrl(): Promise;
getSignatureTimestamp(url?: string | undefined): Promise;
"__#2@#auth": string | null;
_httpsAgent: import("https").Agent | undefined;
_proxies?: false | import("axios").AxiosProxyConfig | undefined;
_headers: import("./types").Headers;
_context: any;
"__#2@#language": string | undefined;
_parser: import("./parsers/browsing").Parser;
_sapisid: any;
_sendRequest>(endpoint: string, body: Record, additionalParams?: string): Promise;
_sendGetRequest(url: string, params?: Record | undefined): Promise;
checkAuth(): any | null;
_checkAuth(): void;
getAuth(): string | null;
changeLanguage(language: string): Promise;
getLanguage(): string | undefined;
getProxy(): boolean | import("axios").AxiosProxyConfig | undefined;
};
} & {
new (...args: any[]): {
getPlaylist(playlistId: string, limit?: number): Promise;
getPlaylistSuggestions(suggestionsToken: string): Promise>;
createPlaylist(title: string, options?: {
description?: string | undefined;
privacyStatus?: import("./mixins/playlists.types").PrivacyStatus | undefined;
videoIds?: string[] | undefined;
sourcePlaylist?: string | undefined;
} | undefined): Promise>;
createPlaylist(title: string, description?: string | undefined, options?: {
privacyStatus?: import("./mixins/playlists.types").PrivacyStatus | undefined;
videoIds?: string[] | undefined;
sourcePlaylist?: string | undefined;
} | undefined): Promise>;
editPlaylist(playlistId: string, options: {
title?: string | undefined;
description?: string | null | undefined;
privacyStatus?: import("./mixins/playlists.types").PrivacyStatus | undefined;
moveItem?: [string, string] | undefined;
addPlaylistId?: string | undefined;
}): Promise>;
deletePlaylist(playlistId: string): Promise>;
addPlaylistItems(playlistId: string, options: {
videoIds: string[];
sourcePlaylist: string;
duplicates: boolean;
}): Promise;
removePlaylistItems(playlistId: string, videos: Record[]): Promise;
getMoodCategories(): Promise;
getMoodPlaylists(params: string): Promise;
getCharts(country?: string): Promise>;
getWatchPlaylist(watchPlaylist: import("./mixins/watch.types").getWatchPlaylistOptions): Promise;
getWatchPlaylistShuffle(options: import("./mixins/watch.types").getWatchPlaylistShuffleOptions): Promise>;
getHome(limit?: number): Promise;
search(query: string, options?: {
filter?: undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "songs" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "videos" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "albums" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "artists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Artists";
resultType: "artist";
browseId: string;
artist: string;
shuffleId: string;
radioId: string;
}, "category"> & {
category: "Artists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "community_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "featured_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "uploads" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise;
getArtist(channelId: string): Promise;
getArtistAlbums(channelId: string, params: string): Promise;
getUser(channelId: string): Promise;
getUserPlaylists(channelId: string, params: string): Promise;
getAlbumBrowseId(audioPlaylistId: `OLAK5uy_${string}`): Promise<`MPREb_${string}`>;
getAlbum(browseId: string): Promise;
getSong(videoId: string, signatureTimestamp?: number | undefined): Promise>;
getLyrics(browseId: string | null | undefined): Promise;
getBaseJSUrl(): Promise;
getSignatureTimestamp(url?: string | undefined): Promise;
"__#2@#auth": string | null;
_httpsAgent: import("https").Agent | undefined;
_proxies?: false | import("axios").AxiosProxyConfig | undefined;
_headers: import("./types").Headers;
_context: any;
"__#2@#language": string | undefined;
_parser: import("./parsers/browsing").Parser;
_sapisid: any;
_sendRequest>(endpoint: string, body: Record, additionalParams?: string): Promise;
_sendGetRequest(url: string, params?: Record | undefined): Promise;
checkAuth(): any | null;
_checkAuth(): void;
getAuth(): string | null;
changeLanguage(language: string): Promise;
getLanguage(): string | undefined;
getProxy(): boolean | import("axios").AxiosProxyConfig | undefined;
};
} & {
new (...args: any[]): {
getMoodCategories(): Promise;
getMoodPlaylists(params: string): Promise;
getCharts(country?: string): Promise>;
getWatchPlaylist(watchPlaylist: import("./mixins/watch.types").getWatchPlaylistOptions): Promise;
getWatchPlaylistShuffle(options: import("./mixins/watch.types").getWatchPlaylistShuffleOptions): Promise>;
getHome(limit?: number): Promise;
search(query: string, options?: {
filter?: undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "songs" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "videos" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "albums" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "artists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Artists";
resultType: "artist";
browseId: string;
artist: string;
shuffleId: string;
radioId: string;
}, "category"> & {
category: "Artists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "community_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "featured_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "uploads" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise;
getArtist(channelId: string): Promise;
getArtistAlbums(channelId: string, params: string): Promise;
getUser(channelId: string): Promise;
getUserPlaylists(channelId: string, params: string): Promise;
getAlbumBrowseId(audioPlaylistId: `OLAK5uy_${string}`): Promise<`MPREb_${string}`>;
getAlbum(browseId: string): Promise;
getSong(videoId: string, signatureTimestamp?: number | undefined): Promise>;
getLyrics(browseId: string | null | undefined): Promise;
getBaseJSUrl(): Promise;
getSignatureTimestamp(url?: string | undefined): Promise;
"__#2@#auth": string | null;
_httpsAgent: import("https").Agent | undefined;
_proxies?: false | import("axios").AxiosProxyConfig | undefined;
_headers: import("./types").Headers;
_context: any;
"__#2@#language": string | undefined;
_parser: import("./parsers/browsing").Parser;
_sapisid: any;
_sendRequest>(endpoint: string, body: Record, additionalParams?: string): Promise;
_sendGetRequest(url: string, params?: Record | undefined): Promise;
checkAuth(): any | null;
_checkAuth(): void;
getAuth(): string | null;
changeLanguage(language: string): Promise;
getLanguage(): string | undefined;
getProxy(): boolean | import("axios").AxiosProxyConfig | undefined;
};
} & {
new (...args: any[]): {
getWatchPlaylist(watchPlaylist: import("./mixins/watch.types").getWatchPlaylistOptions): Promise;
getWatchPlaylistShuffle(options: import("./mixins/watch.types").getWatchPlaylistShuffleOptions): Promise>;
getHome(limit?: number): Promise;
search(query: string, options?: {
filter?: undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "songs" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "videos" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "albums" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "artists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Artists";
resultType: "artist";
browseId: string;
artist: string;
shuffleId: string;
radioId: string;
}, "category"> & {
category: "Artists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "community_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "featured_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "uploads" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise;
getArtist(channelId: string): Promise;
getArtistAlbums(channelId: string, params: string): Promise;
getUser(channelId: string): Promise;
getUserPlaylists(channelId: string, params: string): Promise;
getAlbumBrowseId(audioPlaylistId: `OLAK5uy_${string}`): Promise<`MPREb_${string}`>;
getAlbum(browseId: string): Promise;
getSong(videoId: string, signatureTimestamp?: number | undefined): Promise>;
getLyrics(browseId: string | null | undefined): Promise;
getBaseJSUrl(): Promise;
getSignatureTimestamp(url?: string | undefined): Promise;
"__#2@#auth": string | null;
_httpsAgent: import("https").Agent | undefined;
_proxies?: false | import("axios").AxiosProxyConfig | undefined;
_headers: import("./types").Headers;
_context: any;
"__#2@#language": string | undefined;
_parser: import("./parsers/browsing").Parser;
_sapisid: any;
_sendRequest>(endpoint: string, body: Record, additionalParams?: string): Promise;
_sendGetRequest(url: string, params?: Record | undefined): Promise;
checkAuth(): any | null;
_checkAuth(): void;
getAuth(): string | null;
changeLanguage(language: string): Promise;
getLanguage(): string | undefined;
getProxy(): boolean | import("axios").AxiosProxyConfig | undefined;
};
} & {
new (...args: any[]): {
getHome(limit?: number): Promise;
search(query: string, options?: {
filter?: undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "songs" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Songs";
resultType: "song";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
album: {
name: string;
id: string;
} | null;
duration: string | null;
duration_seconds: number;
isExplicit: boolean;
feedbackTokens: {
add: any;
remove: any;
};
}, "category"> & {
category: "Songs" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "videos" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Videos";
resultType: "video";
videoId: string;
title: string;
artists: {
name: string;
id: string;
}[];
views?: string | undefined;
duration: string | null;
duration_seconds: number;
}, "category"> & {
category: "Videos" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "albums" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Albums";
resultType: "album";
browseId: string;
title: string;
type: "Album";
artist: string;
year: string | null;
isExplicit: boolean;
}, "category"> & {
category: "Albums" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "artists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Artists";
resultType: "artist";
browseId: string;
artist: string;
shuffleId: string;
radioId: string;
}, "category"> & {
category: "Artists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<((Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}) | (Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
}))[]>;
search(query: string, options?: {
filter?: "community_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Community playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Community playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "featured_playlists" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise<(Omit<{
category: "Featured playlists";
resultType: "playlist";
browseId: string;
title: string;
author: string;
itemCount: string;
}, "category"> & {
category: "Featured playlists" | "Top result";
thumbnails: import("./types").thumbnails;
})[]>;
search(query: string, options?: {
filter?: "uploads" | undefined;
scope?: import("./types").Scope | undefined;
limit?: number | undefined;
ignoreSpelling?: boolean | undefined;
} | undefined): Promise;
getArtist(channelId: string): Promise;
getArtistAlbums(channelId: string, params: string): Promise;
getUser(channelId: string): Promise;
getUserPlaylists(channelId: string, params: string): Promise;
getAlbumBrowseId(audioPlaylistId: `OLAK5uy_${string}`): Promise<`MPREb_${string}`>;
getAlbum(browseId: string): Promise;
getSong(videoId: string, signatureTimestamp?: number | undefined): Promise>;
getLyrics(browseId: string | null | undefined): Promise;
getBaseJSUrl(): Promise;
getSignatureTimestamp(url?: string | undefined): Promise;
"__#2@#auth": string | null;
_httpsAgent: import("https").Agent | undefined;
_proxies?: false | import("axios").AxiosProxyConfig | undefined;
_headers: import("./types").Headers;
_context: any;
"__#2@#language": string | undefined;
_parser: import("./parsers/browsing").Parser;
_sapisid: any;
_sendRequest>(endpoint: string, body: Record, additionalParams?: string): Promise;
_sendGetRequest(url: string, params?: Record | undefined): Promise;
checkAuth(): any | null;
_checkAuth(): void;
getAuth(): string | null;
changeLanguage(language: string): Promise;
getLanguage(): string | undefined;
getProxy(): boolean | import("axios").AxiosProxyConfig | undefined;
};
} & typeof _YTMusic;
export default YTMusic;