import { Db } from 'database-proxy'; import { AxiosStatic } from 'axios'; import { CloudSdkInterface, GetTokenFunctionType, InvokeFunctionType, MongoDriverObject, ParseTokenFunctionType } from './cloud.interface'; import { WebSocket } from 'ws'; import { CloudStorage } from './storage'; export declare class Cloud implements CloudSdkInterface { /** * This method should be overwrite * @returns */ static create: () => CloudSdkInterface; private _cloud; private get cloud(); /** * Sending an HTTP request is actually an Axios instance. You can refer to the Axios documentation directly. * @deprecated this is deprecated and will be removed in future, use the global `fetch()` directly @see https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch * @see https://axios-http.com/docs/intro */ fetch: AxiosStatic; database(): Db; /** * Invoke cloud function * @deprecated Just import the cloud function directly, and then call it */ invoke: InvokeFunctionType; getToken: GetTokenFunctionType; parseToken: ParseTokenFunctionType; get shared(): Map; get mongo(): MongoDriverObject; get sockets(): Set; get appid(): string; /** * @deprecated this is deprecated and will be removed in future, use `process.env` instead */ get env(): any; storage: CloudStorage; } //# sourceMappingURL=cloud.d.ts.map