type SkillWriteResult = {
    success: true;
} | {
    success: false;
    error: string;
};
/**
 * Write the companion Claude skill file.
 * Idempotent — skips if the installed version is current or newer.
 * Returns a result with success and optional error message for user-facing hints.
 */
export declare function writeSkillFileIfNeeded(): SkillWriteResult;
/**
 * Write a Cursor rules file to {projectPath}/.cursor/rules/rivet.mdc.
 * Idempotent — skips if the installed version is current or newer.
 * Returns true if the file is current or was successfully written.
 */
export declare function writeCursorRulesIfNeeded(projectPath: string): boolean;
export {};
//# sourceMappingURL=skillWriter.d.ts.map