import { MediaProviderRegistry } from './provider-registry.js';
import { createAnthropicImageUnderstandingProvider, createBuiltinImageUnderstandingProvider, createGeminiImageUnderstandingProvider, createLocalImageUnderstandingProvider, createOpenAIImageUnderstandingProvider, } from './builtin-image-understanding.js';
import { builtinGenerationProviders } from './builtin-generation-providers.js';
export function ensureBuiltinMediaProviders(registry, artifactStore, providerRegistry) {
    registry.register(createOpenAIImageUnderstandingProvider(providerRegistry, artifactStore), { replace: true });
    registry.register(createGeminiImageUnderstandingProvider(providerRegistry, artifactStore), { replace: true });
    registry.register(createAnthropicImageUnderstandingProvider(providerRegistry, artifactStore), { replace: true });
    registry.register(createLocalImageUnderstandingProvider(providerRegistry, artifactStore), { replace: true });
    registry.register(createBuiltinImageUnderstandingProvider(providerRegistry, artifactStore), { replace: true });
    for (const provider of builtinGenerationProviders()) {
        registry.register(provider, { replace: true });
    }
}
