import type { ESTree } from "meriyah";
import type { ProbeMainContext, ProbeContext } from "../ProbeRunner.ts";
/**
 * @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, ctx: ProbeContext): [boolean, any?];
declare function main(node: ESTree.CallExpression, ctx: ProbeMainContext): symbol | null;
declare function initialize(ctx: ProbeContext): void;
declare const _default: {
    name: string;
    nodeTypes: string[];
    validateNode: typeof validateNode;
    main: typeof main;
    initialize: typeof initialize;
    context: {};
};
export default _default;
//# sourceMappingURL=isUnsafeCommand.d.ts.map