/**
 * OpenAI-Compatible Proxy Routes
 *
 * Exposes OpenAI Chat Completions-compatible /v1/chat/completions endpoint.
 * ALL requests are routed through ctx.neurolink.stream() — no direct
 * HTTP calls to any upstream provider.
 *
 * This is a thin wrapper that parses OpenAI format requests and delegates
 * to the shared proxy translation engine.
 *
 * An optional ModelRouter can remap incoming model names to different
 * provider/model pairs (e.g. "gpt-4o" -> vertex/gemini-2.5-pro).
 */
import type { ModelRouter } from "../../proxy/modelRouter.js";
import type { RouteGroup } from "../../types/index.js";
/**
 * Create OpenAI-compatible proxy routes.
 *
 * Every request flows through ctx.neurolink.stream() — no direct HTTP calls
 * to any upstream provider.
 *
 * @param modelRouter   - Optional model router for remapping model names.
 * @param basePath      - Base path prefix (default: "").
 * @param loopbackPort  - Listener port used by the Anthropic loopback bridge.
 *                        Defaults to the CLI proxy default (55669). MUST be the
 *                        actual listener port — never derived from request
 *                        headers — to avoid SSRF.
 * @returns RouteGroup with OpenAI-compatible endpoints.
 */
export declare function createOpenAIProxyRoutes(modelRouter?: ModelRouter, basePath?: string, loopbackPort?: number): RouteGroup;
