/** * SGLang login flow. * * SGLang is commonly self-hosted with an OpenAI-compatible API at a local base URL. * Some deployments require a bearer token, others allow unauthenticated access. * * This flow stores an API-key-style credential used by `/login` and auth storage. */ import type { OAuthController } from "./types"; /** * Login to SGLang. * * Opens SGLang OpenAI-compatible auth docs, prompts for a bearer token, * and returns a stored key value. Local no-auth servers need no login. */ export declare function loginSglang(options: OAuthController): Promise;