export interface TryRunLocalScriptOptions {
    args?: string[];
}
/**
 * Attempts to run a local root package.json script instead of the built-in
 * xy command. Returns the exit code if the override ran, or undefined if
 * no override applies (no matching script or recursion guard).
 */
export declare function tryRunLocalScript(commandName: string, options?: TryRunLocalScriptOptions): number | undefined;
//# sourceMappingURL=tryRunLocalScript.d.ts.map