import type { OpenClawConfig } from "../config/types.openclaw.js"; import type { NodeSession } from "./node-registry.js"; export declare const DEFAULT_DANGEROUS_NODE_COMMANDS: string[]; export declare function listDangerousPluginNodeCommands(): string[]; export declare function resolveNodeCommandAllowlist(cfg: OpenClawConfig, node?: Pick): Set; export declare function normalizeDeclaredNodeCommands(params: { declaredCommands?: readonly string[]; allowlist: Set; }): string[]; export declare function isNodeCommandAllowed(params: { command: string; declaredCommands?: string[]; allowlist: Set; }): { ok: true; } | { ok: false; reason: string; };