import { AxiosBasicCredentials, AxiosResponse } from 'axios'; import { AddCourseDataPayload, CourseConfig } from '@vue-skuilder/common'; import { CreateCourseResp } from './client-requests/course-requests.js'; export default class SkldrClient { server: string; constructor(server: string); /** * Create a new course. */ createCourse(cfg: CourseConfig, auth?: AxiosBasicCredentials): Promise>; /** * Creates a client to interact with the specified course. */ getCourseClient(id: string): SkldrCourseClient; /** * @returns a list of all courses on the server in `id - name` format. */ getCourses(): Promise; getVersion(): Promise; getRoles(): Promise; } declare class SkldrCourseClient { id: string; server: string; constructor(server: string, id: string); addData(data: AddCourseDataPayload): Promise; deleteCourse(auth?: AxiosBasicCredentials): Promise; getConfig(): Promise; } export {}; //# sourceMappingURL=client.d.ts.map