/** * R9: Role position uniqueness within a schema. * * `sortRolesByWordOrder` in the pattern generator sorts roles descending by * svoPosition or sovPosition (higher value = earlier in surface form). If two * roles share the same position value, their relative order is undefined * (falls through to array stability) — a latent footgun because token * ordering silently changes if someone reorders the roles array. * * This rule warns when a schema has multiple roles AND any two share an * explicit position for the same word order. * * Warning (not error) because: * - Single-role schemas have nothing to order. * - A schema might intentionally tie two roles when only one is present * at a time (e.g., mutually-exclusive alternatives). In practice we * haven't seen this, but the rule should prompt a review, not block. * * The `sovPosition: 0` default assigned when omitted is NOT flagged — only * explicit non-zero collisions count. Otherwise most schemas with 3+ * optional roles would warn spuriously. */ import type { LintRule } from '../types'; export declare const positionOrderingRule: LintRule; //# sourceMappingURL=position-ordering.d.ts.map