import type { RegisteredTool } from '../../mcp/server.ts'; import type { AttachState } from '../../mcp/tools/agent/attach.ts'; import type { ReclaimOldClient } from '../client.ts'; import type { ReclaimSdkClient } from '../sdk-client.ts'; /** * The backend-facing tools for OLD-devtools mode. Mirrors * `buildCredentialTools` / `buildAgentTools`: returns a flat `RegisteredTool` * list for `registerToolList`. These replace the builder credential + publish * tools and the (disabled) generated provider tools. * * `sdkClient` is a SEPARATE, unauthenticated client for the public * production SDK backend (`api.reclaimprotocol.org`) — a different host from * `client`'s old-devtools dashboard backend (`devapi.reclaimprotocol.org`). * * `attachRef` is the SAME attach state `buildAgentTools` was given (see * `mcp/start.ts`) — passing it lets the publish tool remind the caller about * a still-open browser session after a successful publish. */ export declare function buildOldBackendTools(client: ReclaimOldClient, sdkClient: ReclaimSdkClient, attachRef?: { current?: AttachState; }): RegisteredTool[];