import { IGDBOptions } from '../interface/igdb'; import { Image } from '../interface/miscellaneous'; export declare class IGDBUrl { protected API_URL: string; constructor(); /** * Get the query url for the provided options * @param options An options object */ queryString(options: IGDBOptions): string; /** * Get the IGDB API URL */ apiUrl(): string; /** * Get the full query url for provided options * @param endpoint The IGDB endpoint * @param options An options object */ queryUrl(endpoint: string, options: IGDBOptions): string; /** * Helper method to get direct url to images. * @param image An image object from the game result * @param size The size of the image. Refer to the IGDB documentation for details. * @link https://igdb.github.io/api/references/images */ image(image: Image, size: string): string; }