/**
 * 0765: Return true when `a` is a strictly greater semver than `b`. Falls
 * back to lexical compare when either side isn't well-formed semver, so a
 * malformed input never crashes the update loop.
 */
export declare function isVersionGreater(a: string | null | undefined, b: string | null | undefined): boolean;
/**
 * 0765: Build the canonical platform skill name (`owner/repo/skill`) from a
 * parsed lockfile source descriptor. Returns null when the source isn't a
 * GitHub-shaped record we can address on the platform.
 */
export declare function canonicalNameFromParsedSource(parsed: {
    type: string;
    owner?: string | null;
    repo?: string | null;
}, skill: string): string | null;
/**
 * 0765: Sync each agent's on-disk SKILL.md frontmatter to `newVersion`.
 * installSymlink writes the upstream content as-is, so when upstream's
 * SKILL.md frontmatter version differs from the resolved newVersion (e.g.
 * platform bumped logical version on a content-identical re-publish, or the
 * upstream simply forgot to update its own frontmatter), the file ends up
 * stale. Without this sync, the Studio header chip and Versions tab show
 * the old version after update — exactly the bug 0765 fixes.
 *
 * Pure-ish helper: takes the agents list + projectRoot + name + newVersion
 * and writes only when the on-disk version actually differs.
 */
export declare function syncFrontmatterVersionAfterUpdate(agents: {
    localSkillsDir: string;
}[], projectRoot: string, name: string, newVersion: string): void;
interface UpdateOptions {
    all?: boolean;
    force?: boolean;
    agent?: string | string[];
}
export declare function updateCommand(skill: string | undefined, opts: UpdateOptions): Promise<void>;
export {};
