import type { ProviderQuery } from '../../provider.js'; import { type XaiAuthMode } from './endpoints.js'; export declare function isAccessTokenExpired(expiresAt: number | undefined): boolean; export declare function rewriteXaiHttpError(error: unknown, mode: XaiAuthMode): Error; export declare function errorOnlyQuery(message: string): ProviderQuery;