/** * Source printer for canonical shorthand strings and lock entry conversion. * * @experimental This API is unstable and may change without notice. * @packageDocumentation */ import type { McpServerLockEntry, PackLockEntry, HookLockEntry, KnowledgeLockEntry, RuleLockEntry, SkillLockEntry, SubagentLockEntry } from "../lockfile/schema.js"; import type { SourceParams } from "./types.js"; type SourceLockEntry = SkillLockEntry | McpServerLockEntry | RuleLockEntry | HookLockEntry | KnowledgeLockEntry | SubagentLockEntry | PackLockEntry; /** * Print source params as their canonical shorthand string. * * @experimental This API is unstable and may change without notice. */ export declare const printSourceParams: (source: SourceParams) => string; /** * Convert a skill lock entry back to a SourceParams. * Inverse of sourceToLockEntry (lock entry optional fields -> Option). * * @experimental This API is unstable and may change without notice. */ export declare const lockEntryToSourceParams: (entry: SourceLockEntry) => SourceParams; /** * Print the exact source locator represented by an accepted Skill resolution. * Registry rows include their immutable identity and resolved version; other * rows round-trip through their source-specific shorthand. * * @experimental This API is unstable and may change without notice. */ export declare const printSkillLockSourceLocator: (_lockName: string, entry: SkillLockEntry) => string; export {}; //# sourceMappingURL=printer.d.ts.map