/** * LM Studio login flow. * * LM Studio provides an OpenAI-compatible API at a local base URL. * It usually runs unauthenticated but can be configured to require a bearer token. * * This flow stores an API-key-style credential used by `/login` and auth storage. */ import type { OAuthController } from "./types"; export declare const DEFAULT_LOCAL_TOKEN = "lm-studio-local"; /** * Login to LM Studio. * * Opens LM Studio API docs, prompts for an optional token, * and returns a stored key value. */ export declare function loginLmStudio(options: OAuthController): Promise;