import type { KlawConfig } from "../../config/types.klaw.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: KlawConfig; parsedConfig: Record; accountId?: string | null; scope: "dm" | "group"; action: "add" | "remove"; entry: string; }) => MaybePromise; export declare function applyAllowlistConfigMutation(params: { cfg: KlawConfig; accountId?: string | null; scope: "dm" | "group"; action: "add" | "remove"; entry: string; applyConfigEdit: ApplyAllowlistConfigEdit; }): Promise; export {};