import type { ConfigStore } from '../../../config/store.ts'; import { type RegisteredTool } from '../../server.ts'; /** * The `set_devtools_mode` / `get_devtools_mode` tools: persist which backend * the MCP server targets (`old` devtools vs the `builder`), and * report the mode currently in effect. The choice is written to * `~/.reclaim/config.json` and applied the NEXT time the server starts — * the registered tool set, server instructions, and backend client are all * fixed at connect time, so the switch requires a restart/reconnect. Follows * the `attach_browser` persist-through-config pattern. * * Registered in BOTH modes (so the user can switch either direction) and * outside `buildAgentTools` (so it survives `RECLAIM_AGENT_DISABLED=1`). An * explicit `USE_OLD_DEVTOOLS` env var still overrides the persisted value — * see `resolveOldMode` in consts.ts. */ export declare function buildModeTools(config: ConfigStore, currentOldMode: boolean): RegisteredTool[];