/** * LocalSkillSource - Read-only skill source backed by local filesystem. * * Uses Node.js fs/promises to read skills directly from disk. * This allows skills to be loaded without requiring a full WorkspaceFilesystem. * * @example * ```typescript * const source = new LocalSkillSource({ * basePath: process.cwd(), * }); * * // skills paths are relative to basePath * const skillsImpl = new WorkspaceSkillsImpl({ * source, * skills: ['./skills', './node_modules/@company/skills'], * }); * ``` */ import type { SkillSource, SkillSourceEntry, SkillSourceStat } from './skill-source.js'; /** * Configuration for LocalSkillSource. */ export interface LocalSkillSourceOptions { /** * Base path for resolving relative skill paths. * Defaults to process.cwd(). */ basePath?: string; } /** * Read-only skill source that loads skills from the local filesystem. * * Unlike WorkspaceFilesystem, this doesn't provide write operations. * Skills loaded from this source are read-only. */ export declare class LocalSkillSource implements SkillSource { #private; constructor(options?: LocalSkillSourceOptions); exists(skillPath: string): Promise; stat(skillPath: string): Promise; readFile(skillPath: string): Promise; readdir(skillPath: string): Promise; realpath(skillPath: string): Promise; } //# sourceMappingURL=local-skill-source.d.ts.map