import { r as DexConfig } from "./types.openclaw-DdfkPVtj.js";

//#region src/channels/plugins/config-helpers.d.ts
declare function setAccountEnabledInConfigSection(params: {
  cfg: DexConfig;
  sectionKey: string;
  accountId: string;
  enabled: boolean;
  allowTopLevel?: boolean;
}): DexConfig;
declare function deleteAccountFromConfigSection(params: {
  cfg: DexConfig;
  sectionKey: string;
  accountId: string;
  clearBaseFields?: string[];
}): DexConfig;
declare function clearAccountEntryFields<TAccountEntry extends object>(params: {
  accounts?: Record<string, TAccountEntry>;
  accountId: string;
  fields: string[];
  isValueSet?: (value: unknown) => boolean;
  markClearedOnFieldPresence?: boolean;
}): {
  nextAccounts?: Record<string, TAccountEntry>;
  changed: boolean;
  cleared: boolean;
};
//#endregion
export { deleteAccountFromConfigSection as n, setAccountEnabledInConfigSection as r, clearAccountEntryFields as t };