import type { InternalResource, InternalUrl, LocateOptions, ProtocolHandler, ResolveContext, SchemeHost, SchemeSpec, UrlCompletion } from "./types.js"; /** * Handler for skill:// URLs. */ export declare class SkillProtocolHandler implements ProtocolHandler { readonly scheme = "skill"; readonly spec: SchemeSpec; /** Advertised only when loaded skills are readable through an active tool. */ promptDoc(host: SchemeHost): string | undefined; resolve(url: InternalUrl, context?: ResolveContext): Promise; /** * Skill file or directory; `options.directory` maps a bare `skill://` to the skill base dir. * Null for a missing entry (or dangling symlink) without `create`, plugin skill or not, and for a * name no loaded skill owns while MCP is available unless `options.localOnly`: an MCP server may * advertise the URL, which {@link resolve} settles (its servers may still be connecting). */ locate(url: InternalUrl, context?: ResolveContext, options?: LocateOptions): Promise; complete(): Promise; }