/// import { ReadStream } from "fs"; import type { Product, Recommendation, ProductPrices, SkuInventory, ProductPartialEdit, ProductIds, Brand, OrderStatus } from "./type"; interface TikTokConfig { appKey: string; accessToken: string; shopCipher?: string; shopId?: string; appSecret: string; } declare class TikTok { private appKey; private accessToken; private shopCipher?; private shopId?; private appSecret; constructor({ appKey, accessToken, shopCipher, shopId, appSecret, }: TikTokConfig); private generateRequestSign; setShop({ shopCipher, shopId }: { shopCipher: string; shopId: string; }): void; getShops(): Promise; getCategories(): Promise; getBrands(brandName: string, categoryId?: string): Promise; addCustomBrands(brand: Brand): Promise; getProduct(id: string): Promise; searchInventory(bodyData?: {}): Promise; addProduct(productData: Product): Promise; getSellerShops(): Promise; recommendCategory(product: Recommendation): Promise; updateProduct(id: string, productData: Product): Promise; getWarehouses(): Promise; updateProductPrices(id: string, skus: ProductPrices): Promise; partiallyEditProduct(id: string, productData: ProductPartialEdit): Promise; getCategoryAttributes(id: string): Promise; updateProductInventory(id: string, skus: SkuInventory[]): Promise; activateProducts(productIds: ProductIds): Promise; deactivateProducts(productIds: ProductIds): Promise; deleteProducts(productIds: ProductIds): Promise; recoverProducts(productIds: ProductIds): Promise; addImage(image: ReadStream): Promise; getOrders(orderStatus: OrderStatus, pageToken?: string): Promise; } export default TikTok;