/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { MultiProviderTokenStore } from '../auth/types.js';
import { OAuthManager } from '../auth/oauth-manager.js';
import { HistoryItemWithoutId } from '../ui/types.js';
/**
 * Context-aware OAuth provider registration
 * Only registers OAuth providers when actually needed for specific providers
 */
export declare function ensureOAuthProviderRegistered(providerName: string, oauthManager: OAuthManager, tokenStore?: MultiProviderTokenStore, addItem?: (itemData: Omit<HistoryItemWithoutId, 'id'>, baseTimestamp: number) => number): void;
/**
 * Check if an OAuth provider has been registered
 */
export declare function isOAuthProviderRegistered(providerName: string, oauthManager: OAuthManager): boolean;
/**
 * Reset registered providers (mainly for testing)
 */
export declare function resetRegisteredProviders(): void;
