vibe-rules
Version:
A utility for managing Cursor rules, Windsurf rules, and other AI prompts
15 lines (14 loc) • 635 B
TypeScript
import { RuleType, RuleProvider } from "../types.js";
/**
* Checks if all rules from a package would be unchanged if reinstalled
* @param defaultExport The exported rules from the package
* @param pkgName Package name
* @param editorType Target editor type
* @param provider Rule provider instance
* @param installOptions Install options
* @returns true if all rules are unchanged, false if any rule would change
*/
export declare function areAllRulesUnchanged(defaultExport: any, pkgName: string, editorType: RuleType, provider: RuleProvider, installOptions: {
global?: boolean;
debug?: boolean;
}): Promise<boolean>;