UNPKG

umbot

Version:

Universal bot(vk, telegram, viber) or skills for Yandex.Alisa, Маруся and sber

15 lines (14 loc) 748 B
import { YandexRequest } from './YandexRequest'; import { IYandexCheckOutPlace, IYandexRequestDownloadImage } from './interfaces'; export declare class YandexImageRequest extends YandexRequest { private readonly STANDARD_URL; skillId: string | null; constructor(oauth?: string | null, skillId?: string | null); private _getImagesUrl; checkOutPlace(): Promise<IYandexCheckOutPlace | null>; downloadImageUrl(imageUrl: string): Promise<IYandexRequestDownloadImage | null>; downloadImageFile(imageDir: string): Promise<IYandexRequestDownloadImage | null>; getLoadedImages(): Promise<IYandexRequestDownloadImage[] | null>; deleteImage(imageId: string): Promise<string | null>; deleteImages(): Promise<boolean>; }