import { Http } from '../helpers/Http'; import { Playlist, PlaylistDetails, SpotifyImage } from '../types/SpotifyObjects'; import { AddItemsToPlaylistOptions, CreatePlaylistOptions, GetMyPlaylistsOptions, GetPlaylistItemsOptions, GetPlaylistOptions, GetUserPlaylistsOptions, RemovePlaylistItemsByPositionOptions, ReorderPlaylistItemsOptions } from '../types/SpotifyOptions'; import { GetMyPlaylistsResponse, GetPlaylistItemsResponse, GetUserPlaylistsResponse } from '../types/SpotifyResponses'; export declare class PlaylistsApi { private http; constructor(http: Http); addItemToPlaylist(playlistId: string, uri: string, options?: AddItemsToPlaylistOptions): Promise; addItemsToPlaylist(playlistId: string, uris: string[], options?: AddItemsToPlaylistOptions): Promise; changePlaylistDetails(playlistId: string, details: PlaylistDetails): Promise; createPlaylist(userId: string, playlistName: string, options?: CreatePlaylistOptions): Promise; getMyPlaylists(options?: GetMyPlaylistsOptions): Promise; getPlaylist(playlistId: string, options?: GetPlaylistOptions): Promise; getPlaylistCover(playlistId: string): Promise; getPlaylistItems(playlistId: string, options?: GetPlaylistItemsOptions): Promise; getUserPlaylists(userId: string, options?: GetUserPlaylistsOptions): Promise; removePlaylistItem(playlistId: string, uri: string): Promise; removePlaylistItems(playlistId: string, uris: string[]): Promise; removePlaylistItemByPosition(playlistId: string, uri: string, positions: number[], options?: RemovePlaylistItemsByPositionOptions): Promise; removePlaylistItemsByPosition(playlistId: string, items: Array<{ uri: string; positions: number[]; }>, options?: RemovePlaylistItemsByPositionOptions): Promise; reorderPlaylistItems(playlistId: string, rangeStart: number, insertBefore: number, options?: ReorderPlaylistItemsOptions): Promise; replacePlaylistItems(playlistId: string, uris: string[]): Promise; uploadPlaylistCover(playlistId: string, image: string): Promise; } //# sourceMappingURL=PlaylistsApi.d.ts.map