import { clearApiProviders, registerApiProvider } from '../api-registry.js';
import { streamAnthropic, streamSimpleAnthropic } from './anthropic.js';
import { streamAzureOpenAIResponses, streamSimpleAzureOpenAIResponses } from './azure-openai-responses.js';
import { streamGoogleVertex, streamSimpleGoogleVertex } from './google-vertex.js';
import { streamGoogle, streamSimpleGoogle } from './google.js';
import { streamOpenAICompletions, streamSimpleOpenAICompletions } from './openai-completions.js';
import { streamOpenAIResponses, streamSimpleOpenAIResponses } from './openai-responses.js';
export function registerBuiltInApiProviders() {
    registerApiProvider({
        api: 'anthropic-messages',
        stream: streamAnthropic,
        streamSimple: streamSimpleAnthropic
    });
    registerApiProvider({
        api: 'openai-completions',
        stream: streamOpenAICompletions,
        streamSimple: streamSimpleOpenAICompletions
    });
    registerApiProvider({
        api: 'openai-responses',
        stream: streamOpenAIResponses,
        streamSimple: streamSimpleOpenAIResponses
    });
    registerApiProvider({
        api: 'azure-openai-responses',
        stream: streamAzureOpenAIResponses,
        streamSimple: streamSimpleAzureOpenAIResponses
    });
    registerApiProvider({
        api: 'google-generative-ai',
        stream: streamGoogle,
        streamSimple: streamSimpleGoogle
    });
    registerApiProvider({
        api: 'google-vertex',
        stream: streamGoogleVertex,
        streamSimple: streamSimpleGoogleVertex
    });
}
export function resetApiProviders() {
    clearApiProviders();
    registerBuiltInApiProviders();
}
registerBuiltInApiProviders();
//# sourceMappingURL=register-builtins.js.map