import { createEmbeddingModelImpl, } from './model-factory-embedding.js';
import { createImageModelImpl, } from './model-factory-image.js';
import { createLanguageModelImpl, } from './model-factory-language.js';
import { createSpeechModelImpl, } from './model-factory-speech.js';
import { createTranscriptionModelImpl, } from './model-factory-transcription.js';
import { createVideoModelImpl, } from './model-factory-video.js';
import { assertNoLegacyLocalModelPrefix } from './model-factory-shared.js';
const modelFactoryCreators = {
    embedding: createEmbeddingModelImpl,
    image: createImageModelImpl,
    language: createLanguageModelImpl,
    speech: createSpeechModelImpl,
    transcription: createTranscriptionModelImpl,
    video: createVideoModelImpl,
};
export function createLanguageModel(runtime, defaults, modelId) {
    assertNoLegacyLocalModelPrefix(modelId);
    return modelFactoryCreators.language(runtime, defaults, modelId);
}
export function createEmbeddingModel(runtime, defaults, modelId) {
    assertNoLegacyLocalModelPrefix(modelId);
    return modelFactoryCreators.embedding(runtime, defaults, modelId);
}
export function createImageModel(runtime, defaults, modelId) {
    assertNoLegacyLocalModelPrefix(modelId);
    return modelFactoryCreators.image(runtime, defaults, modelId);
}
export function createVideoModel(runtime, defaults, modelId) {
    assertNoLegacyLocalModelPrefix(modelId);
    return modelFactoryCreators.video(runtime, defaults, modelId);
}
export function createSpeechModel(runtime, defaults, modelId) {
    assertNoLegacyLocalModelPrefix(modelId);
    return modelFactoryCreators.speech(runtime, defaults, modelId);
}
export function createTranscriptionModel(runtime, defaults, modelId) {
    assertNoLegacyLocalModelPrefix(modelId);
    return modelFactoryCreators.transcription(runtime, defaults, modelId);
}
//# sourceMappingURL=model-factories.js.map