import type { OAuthAuth } from '../../api/provider-config.js'; type OAuthAuthExtended = OAuthAuth & { rawType?: string; oauthProviderId?: string; tokenFile?: string; }; export declare class AuthModeUtils { static normalizeAuthMode(type: unknown): 'apikey' | 'oauth'; static resolveOAuthProviderId(type: unknown): string | undefined; static ensureOAuthProviderId(auth: OAuthAuthExtended, extensions?: Record): string; static ensureOAuthProviderIdLegacy(type: unknown): string; } export {};