import { Api, Audio } from "../"; import XRest from "@meteor-it/xrest"; export default class VKApi extends Api { logged: boolean; tokens: string[]; xrest: XRest; uploadToken: string; constructor(); auth(tokens: string[]): Promise; execute(method: string, params?: {}): Promise; tokenId: number; executeMulti(tasks: Array<[string, any]>): Promise; getUser(user: any, onlyCached?: boolean): Promise; getUserFromApiData(data: any): any; cache: Map; getUsers(users_orig: any): Promise; getChat(chat: any): Promise; uGetUser(uid: any): Promise; uGetChat(cid: any): Promise; startReceiver(): Promise; parseAttachment(attachment: any): Promise; receive(key: any, server: any, ts: any): Promise; randomId(): number; static processText(text: any): any; sendLocation(targetId: any, answer: any, caption: any, location: any, options: any): Promise; sendText(targetId: any, answer: any, text: any, options: any): Promise; sendCommonAttachment(targetId: any, answer: any, caption: any, attachmentId: any, options: any): Promise; sendImageStream(targetId: any, answer: any, caption: any, image: any, options: any): Promise; sendFileStream(targetId: any, answer: any, caption: any, file: any, options: any): Promise; sendVoiceStream(targetId: any, answer: any, caption: any, file: any, options: any): Promise; sendAudioStream(targetId: any, answer: any, caption: string, audio: Audio, options: any): Promise; sendCustom(targetId: any, answer: any, caption: any, options: any): Promise; }