import type { CloudRegion } from './types';
/**
 * Resolve the Amplitude data ingestion host for a given region.
 *
 * This is the URL the user's Amplitude SDK targets — it MUST always be a
 * real Amplitude ingestion endpoint (or an explicit override). We never
 * substitute the wizard's local LLM-gateway port here, even in dev:
 * dev contributors who write `.env.local` or a setup report against a
 * test app would otherwise leak `localhost:8010` into shared output.
 *
 * Override with `AMPLITUDE_WIZARD_INGESTION_HOST` for advanced cases
 * (e.g. pointing the wizard at a local Amplitude proxy).
 */
export declare const getHostFromRegion: (region: CloudRegion) => string;
export declare const getCloudUrlFromRegion: (region: CloudRegion) => "https://app.amplitude.com" | "https://eu.amplitude.com";
export declare function detectRegionFromToken(accessToken: string): Promise<CloudRegion>;
/**
 * Get the LLM proxy URL for the Claude Agent SDK.
 *
 * Routes through Amplitude's LLM gateway, which validates OAuth tokens
 * and proxies to the Claude model. The Claude Agent SDK uses this as
 * `ANTHROPIC_BASE_URL` and appends `/v1/messages`.
 *
 * Always defaults to the prod gateway — running a local LLM gateway is rare
 * and must be opt-in. Set `WIZARD_LLM_PROXY_URL` to point the wizard at a
 * local proxy (e.g. when developing the gateway itself). Even in dev/test
 * we default to prod, because (a) most contributors don't run a local
 * gateway, and (b) tests don't make real network calls anyway — they mock.
 */
export declare const getLlmGatewayUrlFromHost: (host: string) => string;
/**
 * Resolve the Amplitude MCP server base host for a given region.
 *
 * Returns the bare origin (no path); callers append `/mcp`, `/sse`, etc.
 * Both endpoints are real and live: `mcp.amplitude.com` and
 * `mcp.eu.amplitude.com` both authenticate and route to the regional
 * data center. Routing an EU user's session through the US MCP host
 * sends their queries through US infrastructure — a compliance issue,
 * not just a UX issue.
 */
export declare const getMcpHostFromRegion: (region: CloudRegion) => string;
/**
 * Build the streamable-HTTP MCP endpoint URL for a region.
 *
 * Resolution order (first match wins):
 *   1. `MCP_URL` env override — primarily for tests / dev pointing at a
 *      staging or local server. Honored regardless of region.
 *   2. `local: true` — `http://localhost:8787/mcp`. Used by `--local-mcp`
 *      and the `mcp add --local` developer flag.
 *   3. Region-aware production: `mcp.amplitude.com/mcp` (US) or
 *      `mcp.eu.amplitude.com/mcp` (EU).
 *
 * Pass the user's resolved zone — never assume US. The returned URL gets
 * baked into editor configs (Claude Code, Cursor, VS Code, etc.) so the
 * value persists past the wizard run; getting this wrong sticks the user
 * with a wrong-region MCP forever.
 */
export declare const getMcpUrlFromZone: (region: CloudRegion, options?: {
    local?: boolean;
    path?: "mcp" | "sse";
}) => string;
