import type { AxiosStatic } from 'axios'; import type { Db } from 'database-proxy'; import type * as mongodb from 'mongodb'; export type InvokeFunctionType = (name: string, param?: FunctionContext) => Promise; export type GetTokenFunctionType = (payload: any, secret?: string) => string; export type ParseTokenFunctionType = (token: string, secret?: string) => any | null; export interface MongoDriverObject { client: mongodb.MongoClient; db: mongodb.Db; } export interface CloudSdkInterface { fetch?: AxiosStatic; database(): Db; invoke: InvokeFunctionType; shared: Map; getToken: GetTokenFunctionType; parseToken: ParseTokenFunctionType; mongo: MongoDriverObject; } //# sourceMappingURL=cloud.interface.d.ts.map