import type { RequestContext } from '@mastra/core/request-context'; import type { ClientOptions, StoredSkillResponse, UpdateStoredSkillParams, DeleteStoredSkillResponse, FavoriteToggleResponse } from '../types.js'; import { BaseResource } from './base.js'; /** * Resource for interacting with a specific stored skill */ export declare class StoredSkill extends BaseResource { private storedSkillId; constructor(options: ClientOptions, storedSkillId: string); /** * Retrieves details about the stored skill * @param requestContext - Optional request context to pass as query parameter * @returns Promise containing stored skill details */ details(requestContext?: RequestContext | Record): Promise; /** * Updates the stored skill with the provided fields * @param params - Fields to update * @param requestContext - Optional request context to pass as query parameter * @returns Promise containing the updated stored skill */ update(params: UpdateStoredSkillParams, requestContext?: RequestContext | Record): Promise; /** * Deletes the stored skill * @param requestContext - Optional request context to pass as query parameter * @returns Promise containing deletion confirmation */ delete(requestContext?: RequestContext | Record): Promise; /** * Favorites this skill for the calling user. Idempotent. * Requires the `skill.favorites` builder feature flag to be enabled on the server. */ favorite(requestContext?: RequestContext | Record): Promise; /** * Unfavorites this skill for the calling user. Idempotent. * Requires the `skill.favorites` builder feature flag to be enabled on the server. */ unfavorite(requestContext?: RequestContext | Record): Promise; } //# sourceMappingURL=stored-skill.d.ts.map