/**
 * Provider Token Refreshers
 *
 * Exports refresh functions for each OAuth provider.
 *
 * Refresh responsibility:
 * - CLIProxy-delegated: gemini, codex, agy, kiro, ghcp, qwen, iflow, kimi
 *   (CLIProxyAPIPlus handles refresh automatically in background)
 * - Not implemented: claude
 */
import { CLIProxyProvider } from '../../types';
/** Token refresh result */
export interface ProviderRefreshResult {
    success: boolean;
    error?: string;
    expiresAt?: number;
    /** True if refresh is delegated to CLIProxy (not handled by CCS) */
    delegated?: boolean;
}
/**
 * Check if a provider's token refresh is delegated to CLIProxy
 */
export declare function isRefreshDelegated(provider: CLIProxyProvider): boolean;
/**
 * Refresh token for a specific provider and account
 * @param provider Provider to refresh
 * @param accountId Account ID used to refresh the correct provider token
 * @returns Refresh result with success status and optional error
 */
export declare function refreshToken(provider: CLIProxyProvider, accountId: string): Promise<ProviderRefreshResult>;
//# sourceMappingURL=index.d.ts.map