import { ResponseData } from "jmash-core-mp"; import { DiyCompModel, DiyCompCreateReq, DiyCompList, DiyCompReq, DiyCompUpdateReq } from "./types"; import { CompModel } from "../types"; declare class DiyCompApiImpl { convertModel(diyModel: DiyCompModel): CompModel; convertModels(diyComps: Array): Array; findListByPage(pageId: string, vcardToken: string, tenant: string): Promise>; findList(query: DiyCompReq, tenant: string): Promise>; findById(compId: string, tenant: string): Promise>; create(data: DiyCompCreateReq, tenant: string): Promise>; move(compId: string, up: boolean, tenant: string): Promise>; moveTop(compId: string, top: boolean, tenant: string): Promise>; delete(compId: string, tenant: string): Promise>; update(data: DiyCompUpdateReq, tenant: string): Promise>; } declare const diyCompApi: DiyCompApiImpl; export { diyCompApi };