/** * unregistered-command-call detector. * * Scans application TS/JS files for `runtime.runCommand("entity.command", …)` * invocations and reports findings when the called command is absent from * the supplied commands registry, or when the command name is dynamic and * cannot be statically resolved against the registry. * * This detector is one of the building blocks of the `enforce-surface` CLI * command, which guards against agents inventing duplicate or bypass write * paths when a registered Manifest command already exists. */ import type { Detector } from './types.js'; export declare function loadCommandSet(registryPath: string): Promise>; export interface RunCommandCall { /** Static command id when the first argument is a string literal, else null. */ commandId: string | null; /** True when the first argument is not a static string literal. */ dynamic: boolean; line: number; column: number; } export declare function extractRunCommandCalls(source: string, filename: string): RunCommandCall[]; export declare const unregisteredCommandCallDetector: Detector; //# sourceMappingURL=unregistered-command-call.d.ts.map