import type { AxiosPromise } from "axios"; import type { ProductApi, ProductReq, ProductModel, ProductPage, ProductList, ProductKey, ProductCreateReq, ProductUpdateReq, ProductMccCodeReq, ProductMccCodeList } from "./types"; declare class ProductApiImpl implements ProductApi { getKey(model: ProductModel): ProductKey; findPage(query?: ProductReq): AxiosPromise; findList(query?: ProductReq): AxiosPromise; findMccCodesList(query?: ProductMccCodeReq): AxiosPromise; findById(query: ProductKey): AxiosPromise; create(data: ProductCreateReq): AxiosPromise; update(data: ProductUpdateReq): AxiosPromise; enable(key: ProductKey, enable: boolean): AxiosPromise; delete(query: ProductKey): AxiosPromise; batchDelete(keys: ProductKey[]): AxiosPromise; findProductList(query: ProductReq): AxiosPromise; } declare const productApi: ProductApiImpl; export { productApi };