import { AxiosInstance, AxiosResponse } from "axios"; import { WorkProcessListItem } from "../types/workProcessListItem"; import { ResponseMessage } from "../types/"; import { IWorkProcessSubmit, UpdateResult } from "../types/entities"; export declare type JsPlugin = { define: string; name: string; }; declare class defineApi { request: AxiosInstance; url: string; urlPlugin: string; workProcessUrl: string; constructor(request: AxiosInstance, strPath: string); listAllName(): Promise; listByName(strWpName: string): Promise>; getByName(strWpName: string): Promise>; getById(intId: number): Promise>; save(submit: any): Promise>; checkVersion(intId: number, intVersion: number): Promise>; checkWorkTaskName(workProcessName: string, strName: string): Promise>; checkWorkProcessName(workProcessName: string, intVersion: number, notIncludeId: number): Promise>; delWorkProcess(id: number): Promise>; getListForPage(params: any): Promise>; getCountForPage(params: any): Promise>; listAllPlugins(): Promise>>; listPlugins(name: Array): Promise>>; } export default defineApi;