interface StampOptions {
    /** Roots to walk. When omitted, defaults to ~/.claude/skills + ~/.claude/plugins/cache. */
    root?: string[];
    /** Default version to stamp when missing. */
    version?: string;
    /** When true, write changes to disk; otherwise dry-run (just report). */
    write?: boolean;
    /** When true, emit one path per line instead of human report. */
    json?: boolean;
}
interface FileResult {
    path: string;
    action: "stamped" | "skipped-has-version" | "skipped-no-frontmatter" | "error";
    current?: string | null;
    next?: string;
    error?: string;
}
export declare function stampVersionsCommand(opts?: StampOptions): Promise<{
    scanned: number;
    stamped: number;
    alreadyHadVersion: number;
    errors: number;
    results: FileResult[];
}>;
export {};
