import type { ESTree } from "meriyah";
import type { ProbeMainContext } from "../ProbeRunner.js";
/**
 * @description Detect spawn or exec unsafe commands
 * @example
 * child_process.spawn("csrutil", ["status"]);
 *
 * require("child_process").spawn("csrutil", ["disable"]);
 *
 * const { exec } = require("child_process");
 * exec("csrutil status");
 */
declare function validateNode(node: ESTree.Node): [boolean, any?];
declare function main(node: ESTree.CallExpression, ctx: ProbeMainContext): symbol | null;
declare const _default: {
    name: string;
    validateNode: typeof validateNode;
    main: typeof main;
};
export default _default;
//# sourceMappingURL=isUnsafeCommand.d.ts.map