/** * existing-command-available detector. * * Conservative name-heuristic guard: when an application file declares a * helper or route handler whose name tokens (camelCase / PascalCase / * snake_case / kebab-case) form the same multiset as a registered * Manifest entity.command, AND the file does NOT contain a * runtime.runCommand dispatch to that exact command, flag the file as * potentially duplicating a registered command surface. * * False positives are tolerable for an agent guard so long as the * heuristic is opt-in (gated on a commands registry being supplied) and * single-token names are skipped to avoid noise from generic helpers * like `create`, `update`, etc. */ import type { Detector } from './types.js'; export declare function tokenize(name: string): string[]; export declare function multisetMatch(a: string[], b: string[]): boolean; export declare const existingCommandAvailableDetector: Detector; //# sourceMappingURL=existing-command-available.d.ts.map