import { AxiosResponse } from 'axios'; import { Config } from './config'; import Request from './request'; import { CasdoorResponse } from './util'; export interface Model { owner: string; name: string; createdTime?: string; displayName?: string; description?: string; modelText: string; } export declare class ModelSDK { private config; private readonly request; constructor(config: Config, request: Request); getModels(): Promise, any>>; getModel(id: string): Promise, any>>; modifyModel(method: string, model: Model, columns?: string[]): Promise, any>>; getPaginationModels(p: number, pageSize: number, queryMap?: Record): Promise, any>>; addModel(model: Model): Promise, any>>; updateModel(model: Model): Promise, any>>; deleteModel(model: Model): Promise, any>>; }