import { AxiosResponse } from 'axios'; import { User } from './user'; import { Config } from './config'; import Request from './request'; import { CasdoorResponse } from './util'; export interface Group { owner: string; name: string; createdTime: string; updatedTime?: string; displayName: string; manager?: string; contactEmail?: string; type?: string; parentId?: string; isTopGroup?: boolean; users?: User[]; title?: string; key?: string; children?: Group[]; isEnabled?: boolean; parentName?: string; haveChildren?: boolean; gidNumber?: number; properties?: Record; } export declare class GroupSDK { private config; private readonly request; constructor(config: Config, request: Request); getGroups(withTree?: boolean): Promise, any>>; getGroup(id: string): Promise, any>>; modifyGroup(method: string, group: Group, columns?: string[]): Promise, any>>; getPaginationGroups(p: number, pageSize: number, queryMap?: Record): Promise, any>>; addGroup(group: Group): Promise, any>>; updateGroup(group: Group): Promise, any>>; deleteGroup(group: Group): Promise, any>>; }