export type ParsedSource = {
    type: "registry";
    skillName: string;
} | {
    type: "github";
    owner: string;
    repo: string;
} | {
    type: "github-plugin";
    owner: string;
    repo: string;
    pluginName: string;
} | {
    type: "marketplace";
    owner: string;
    repo: string;
    pluginName: string;
} | {
    type: "local";
    baseName: string;
} | {
    type: "unknown";
    raw: string;
};
/**
 * Parse a lockfile `source` string into a typed discriminated union.
 *
 * Supported formats:
 *   "registry:skillName"
 *   "local:baseName"
 *   "marketplace:owner/repo#pluginName"
 *   "github:owner/repo"
 *   "github:owner/repo#plugin:pluginName"
 *   "" or unrecognized → { type: "unknown" }
 */
export declare function parseSource(source: string): ParsedSource;
