UNPKG

shiro.gg

Version:
22 lines (21 loc) 514 B
import { ImageResult, ReportInputOptions } from './../typings'; /** * gets image from the api * @parameter {__endpoint} string: The endpoint of the api * * @example * SFW * ```js * GetImage('pat').then(console.log) * //Or, * GetImage('pat', { nsfw: false }).then(console.log) * ``` * NSFW * ```js * GetImage('hentai', { nsfw: true }).then(console.log) * ``` * * @private */ declare const GetImage: (__endpoint: string, __options?: ReportInputOptions) => Promise<ImageResult>; export { GetImage };