import { CreateProductRequestType, DeleteProductRequestType, ListProductRequestType, Product, ProductBatchUpdateRequestType, ProductBatchUpdateResponseType, ProductByIdRequestType, UpdateProductRequestType } from './types'; import { AxiosInstance } from 'axios'; export default class Products { private readonly client; constructor(client: AxiosInstance); create(data: CreateProductRequestType): Promise; getById({ id }: ProductByIdRequestType): Promise; list(params?: ListProductRequestType): Promise<{ data: Product[]; count: number; totalPages: number; }>; updateById({ id, data }: UpdateProductRequestType): Promise; deleteById({ id, data: { force } }: DeleteProductRequestType): Promise; batch(data: ProductBatchUpdateRequestType): Promise; }