import { A as MigrationProviderContext } from "../../plugin-entry-DU2yQnXT.js";
import { n as OpenClawConfig } from "../../types.openclaw-DaSAxiuJ.js";
import "../../types-CNLmGYWc.js";
import "../../config-ClCKe6St.js";
import "../../types-DX2Pke4Q.js";
import "../../provider-auth-helpers-TE-vs5qK.js";
//#region extensions/migrate-hermes/auth-config.d.ts
export type HermesAuthProfileConfig = {
  profileId: string;
  provider: string;
  mode: "api_key" | "oauth" | "token";
  email?: string;
  displayName?: string;
};
type HermesAuthConfigApplyResult = "configured" | "conflict" | "unavailable";
export declare function hasAuthProfileConfigConflict(config: OpenClawConfig, profile: HermesAuthProfileConfig, overwrite: boolean): boolean;
export declare function hasCurrentAuthProfileConfigConflict(ctx: MigrationProviderContext, profile: HermesAuthProfileConfig): boolean;
export declare function applyAuthProfileConfigWithConflictCheck(params: {
  ctx: MigrationProviderContext;
  profile: HermesAuthProfileConfig;
  applyConfigPatch?: (config: OpenClawConfig) => OpenClawConfig;
}): Promise<HermesAuthConfigApplyResult>;
//#endregion