/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import React from 'react';
import { Config, ProviderMessage as Message, ConversationCache } from '@vybestack/llxprt-code-core';
interface RemoteTokenStats {
    promptTokenCount: number;
    candidatesTokenCount: number;
    totalTokenCount: number;
    lastUpdated: Date | null;
}
interface OpenAIProviderContextValue {
    isOpenAIActive: boolean;
    isResponsesAPI: boolean;
    currentModel: string | null;
    conversationCache: ConversationCache | null;
    remoteTokenStats: RemoteTokenStats;
    updateRemoteTokenStats: (stats: Partial<RemoteTokenStats>) => void;
    getCachedConversation: (conversationId: string, parentId: string) => Message[] | null;
}
export declare const OpenAIProviderContextProvider: React.FC<{
    config: Config;
    children: React.ReactNode;
}>;
export declare const useOpenAIProviderContext: () => OpenAIProviderContextValue;
export {};
