UNPKG

spiceware-sdk

Version:
14 lines (13 loc) 507 B
import { AxiosInstance, AxiosPromise } from "axios"; import { DecryptItemType, DecryptListType, EncryptItemType, ResponseType } from "./types"; declare class SpicewareSDK { client: AxiosInstance; constructor({ baseURL }: { baseURL: string; }); encrypt(data: EncryptItemType): AxiosPromise<ResponseType>; decrypt(data: DecryptItemType): AxiosPromise<ResponseType>; decryptList(data: DecryptListType): AxiosPromise<any>; } export * from "./types"; export default SpicewareSDK;