/**
 * Qwen Code client configurator.
 *
 * Qwen Code is OpenAI-compatible: its `cli.js` reads `OPENAI_BASE_URL` and
 * `OPENAI_API_KEY`, and its settings file carries the same pair under
 * `security.auth`. It therefore needs no new proxy route — it points at the
 * existing `/v1/chat/completions` door.
 *
 * Settings shape verified against a real `~/.qwen/settings.json` (`$version` 2)
 * from `@qwen-code/qwen-code@0.17.0`:
 *
 *   {
 *     "security": { "auth": {
 *       "selectedType": "openai", "apiKey": "...", "baseUrl": "https://..."
 *     } },
 *     "model": { "name": "..." },
 *     "$version": 2
 *   }
 */
import type { CliProxyClientConfigurator } from "../../types/index.js";
/**
 * Resolved per call rather than at module load so `detect()` and `apply()`
 * agree when HOME changes — under test, and on the `--dev` isolation path.
 */
declare function getQwenConfigDir(): string;
declare function getQwenSettingsPath(): string;
export declare function setQwenProxySettings(baseUrl: string, proxyKey?: string): Promise<boolean>;
export declare function clearQwenProxySettings(expectedBaseUrl?: string): Promise<boolean>;
export declare const qwenCodeConfigurator: CliProxyClientConfigurator;
export declare const __qwenCodeTestHooks: {
    getQwenConfigDir: typeof getQwenConfigDir;
    getQwenSettingsPath: typeof getQwenSettingsPath;
    setQwenProxySettings: typeof setQwenProxySettings;
    clearQwenProxySettings: typeof clearQwenProxySettings;
};
export {};
