@aituber-onair/core
Version:
Core library for AITuber OnAir providing voice synthesis and chat processing
16 lines (15 loc) • 547 B
TypeScript
import { VoiceEngine } from './VoiceEngine';
import { voiceEngineType } from '../../../types';
/**
* Voice engine factory
* Generate appropriate voice engine instances based on voice engine type
*/
export declare class VoiceEngineFactory {
/**
* Get the voice engine for the specified engine type
* @param engineType string of engine type ('voicevox', 'voicepeak', etc.)
* @returns voice engine instance
* @throws error if engine type is unknown
*/
static getEngine(engineType: voiceEngineType): VoiceEngine;
}