import { f as SettingsListData, h as SwitchOptions, l as Scope, m as SettingsResult, t as ConfigObject } from "../../../types-lRv_6IzV.js";
import "../../../interfaces-BOV8jLcZ.js";
import { t as BaseAdapter } from "../../../base-D1dmjxMJ.js";

//#region src/services/settings/adapters/codex.d.ts

/**
* Resolves ~/.codex/config.toml (user scope) and supports profile switching
*/
declare class CodexAdapter extends BaseAdapter {
  #private;
  readonly toolId: "codex";
  /**
  * Custom list implementation that focuses on model_providers
  */
  list(scope: Scope): Promise<SettingsListData>;
  /**
  * Resolve the config path
  */
  resolvePath(scope: Scope): string;
  /**
  * Validate the supported scope
  */
  validateScope(scope: Scope): boolean;
  /**
  * Switch to a different Codex profile
  */
  switchProfile(scope: Scope, profile: string, _options?: SwitchOptions): Promise<SettingsResult>;
  /**
  * Read the TOML configuration
  */
  protected readConfig(path: string): ConfigObject;
  /**
  * Write the TOML configuration
  */
  protected writeConfig(path: string, data: ConfigObject): void;
}
//#endregion
export { CodexAdapter };