import { Ft as ProviderAuthContext, Lt as ProviderAuthResult } from "../../acpx-BnI94i_U.js";
import { i as OAuthCredential } from "../../types-Ct8cbE0c.js";
import "../../provider-auth-yMnkWIPU.js";
//#region extensions/xai/xai-oauth.d.ts
type XaiOAuthFetchOptions = {
  fetchImpl?: typeof fetch;
  now?: () => number;
  signal?: AbortSignal;
};
export declare function loginXaiDeviceCode(ctx: ProviderAuthContext): Promise<ProviderAuthResult>;
export declare function refreshXaiOAuthCredential(credential: OAuthCredential, options?: XaiOAuthFetchOptions): Promise<OAuthCredential>;
//#endregion