import type { Convention, KyroSharedProjectState, OperationPlan, SprintFile } from '../types'; /** * Tool-owned convention append. Scope-local is the default; --global also persists the rule on * shared project.json so every scope context pack inherits it. * * kyro rule add --rule "Run docs-check after OpenAPI changes" --tag process [--global] */ export declare function runRuleCommand(rawArgs: string[]): void; export interface RuleAddArgs { id: string | null; rule: string; tags: string[]; scope: string | null; global: boolean; dryRun: boolean; help: boolean; } export interface RuleAddPlan { sprint: SprintFile; sharedProject: KyroSharedProjectState | null; plan: OperationPlan[]; convention: Convention; globalAdded: boolean; alreadyGlobal: boolean; } export declare function buildRuleAddPlan(scope: string, args: RuleAddArgs): RuleAddPlan; //# sourceMappingURL=rule.d.ts.map