import { type RegisteredTool } from '../../mcp/server.ts'; import type { ReclaimOldClient } from '../client.ts'; /** * OLD-devtools authenticate. The default, zero-arg flow drives only a local * Chrome through loopback CDP. It never uses a Builder, container, custom-CDP, * or shared browser. It opens the devtools dashboard, waits for the developer * to sign in, reads the Firebase ID token from page storage, then closes the * tab or the dedicated browser it launched. Two manual overrides remain: * * - `token`: paste a Firebase ID token yourself (skips the browser). * - `ethAddress`: an `eth:`/`0x…` uid for an already-provisioned eth * user (header carries no signature, so the uid must already exist). * * The chosen identity is attached to the shared client and persisted to * `~/.reclaim/config.json` so later calls and future restarts reuse it. A * zero-arg call reuses a still-valid stored identity before falling back to * the browser flow. */ export declare function authenticateTool(client: ReclaimOldClient): RegisteredTool;