import { Client } from "../"; import { Song } from "./Song"; export interface SongSearchOptions { sanitizeQuery: boolean; } export declare class SongsClient { readonly client: Client; /** * @example const SongsClient = new Genius.Songs.Client(key); */ constructor(client: Client); /** * Searches for songs for the provided query (Key is optional) * @example const SearchResults = await SongsClient.search("faded"); */ search(query: string, options?: Partial): Promise; /** * Fetches the Song using the provided ID (Requires Key) * @example const Song = await SongsClient.get(3276244); */ get(id: number): Promise; sanitizeQuery(query: string): string; }