import { AxiosResponse } from 'axios'; import { Config } from './config'; import Request from './request'; import { CasdoorResponse } from './util'; export interface Plan { owner: string; name: string; createdTime: string; displayName: string; description: string; pricePerMonth?: number; pricePerYear?: number; currency?: string; isEnabled?: boolean; role?: string; options?: string[]; price?: number; period?: string; product?: string; paymentProviders?: string[]; isExclusive?: boolean; } export declare class PlanSDK { private config; private readonly request; constructor(config: Config, request: Request); getPlans(): Promise, any>>; getPlan(id: string): Promise, any>>; modifyPlan(method: string, plan: Plan, columns?: string[]): Promise, any>>; getPaginationPlans(p: number, pageSize: number, queryMap?: Record): Promise, any>>; addPlan(plan: Plan): Promise, any>>; updatePlan(plan: Plan): Promise, any>>; deletePlan(plan: Plan): Promise, any>>; }