import type { PaginatedSkillList } from "../models/PaginatedSkillList"; import type { WrappedSkill } from "../models/WrappedSkill"; import type { WrappedSkillCreate } from "../models/WrappedSkillCreate"; import type { WrappedSkillUpdate } from "../models/WrappedSkillUpdate"; import type { CancelablePromise } from "../core/CancelablePromise"; export declare class SkillService { /** * Create a new skill * Create a new custom skill with a title and instructions in markdown. The skill will be available to all workspace members. * @param requestBody * @returns WrappedSkill Success, including the created skill * @throws ApiError */ static createSkill(requestBody: WrappedSkillCreate): CancelablePromise; /** * Retrieve an existing skill * Retrieve an existing skill by its ID. Returns the skill's title and instructions. * @param id * @returns WrappedSkill Success, including the retrieved skill * @throws ApiError */ static getSkill(id: string): CancelablePromise; /** * Update an existing skill * Update an existing skill's title and/or instructions. Only the fields provided will be updated. The skill is identified by its ID in the URL. * @param id * @param requestBody * @returns WrappedSkill Success, including the updated skill * @throws ApiError */ static updateSkill(id: string, requestBody: WrappedSkillUpdate): CancelablePromise; /** * Delete an existing skill * Delete a skill by its ID. The skill will be permanently removed from the workspace. * @param id * @returns WrappedSkill Success, including the deleted skill * @throws ApiError */ static deleteSkill(id: string): CancelablePromise; /** * Retrieve a skill by title * Retrieve a skill by its title. Skills are user-defined instructions or templates for performing specific task types in the workspace. Returns the skill's title and instructions if found. * @param title The title of the skill to retrieve * @returns WrappedSkill Success, including the retrieved skill * @throws ApiError */ static retrieveSkillByTitle(title: string): CancelablePromise; /** * List all skills * List all skills in the workspace. Skills are user-defined instructions or templates for performing specific task types. * @param limit Number of results to return per page. * @param offset The initial index from which to return the results. * @returns PaginatedSkillList Success, including a list of skills * @throws ApiError */ static listSkills(limit?: number, offset?: number): CancelablePromise; }