import type { OpenClawConfig } from "../../config/types.openclaw.js"; export declare class AutoReplyConfigMutationError extends Error { } export declare function formatAutoReplyConfigMutationError(error: unknown): string | null; export declare function unsetConfigPath(path: string[]): Promise; export declare function setConfigPath(path: string[], value: unknown): Promise; export declare function setPluginEnabledFromCommand(params: { pluginId: string; enabled: boolean; action: "enable" | "disable"; }): Promise; type AllowlistConfigEditResult = { kind?: "ok" | "invalid-entry"; changed?: boolean; } | null | undefined; type MaybePromise = T | Promise; type ApplyAllowlistConfigEdit = (params: { cfg: OpenClawConfig; parsedConfig: Record; accountId?: string | null; scope: "dm" | "group"; action: "add" | "remove"; entry: string; }) => MaybePromise; export declare function applyAllowlistConfigMutation(params: { cfg: OpenClawConfig; accountId?: string | null; scope: "dm" | "group"; action: "add" | "remove"; entry: string; applyConfigEdit: ApplyAllowlistConfigEdit; }): Promise; /** * Set an agent's `skills` array (the per-agent skill filter) by id. * Used by the `/skills enable` and `/skills disable` commands. The caller * computes the resulting skill list; this helper only applies it through the * approved domain config mutation seam. */ export declare function setAgentSkillsFilter(params: { agentId: string; skills: string[]; matchAgentId: (candidate: string | undefined) => boolean; }): Promise; /** * Clear an agent's `skills` array so it inherits `agents.defaults.skills`. * Used by the `/skills reset` command. */ export declare function clearAgentSkillsFilter(params: { agentId: string; matchAgentId: (candidate: string | undefined) => boolean; }): Promise; export {};