UNPKG

@clipwhisperer/common

Version:

ClipWhisperer Common - Shared library providing core utilities, database schemas, authentication, bucket management, and common functionality across all ClipWhisperer microservices

30 lines (29 loc) 1.2 kB
/** * AWS Polly Configuration Constants * Centralized configuration for all AWS Polly-related defaults */ export declare const AWS_POLLY_DEFAULTS: { readonly VOICE_ID: "Matthew"; readonly ENGINE: "generative"; readonly OUTPUT_FORMAT: "mp3"; }; export declare const KNOWN_WORKING_COMBINATIONS: readonly [{ readonly voiceId: "Matthew"; readonly engine: "generative"; }]; export declare const AWS_POLLY_CONFIG: { readonly SUPPORTED_ENGINES: readonly ["generative", "neural", "standard"]; readonly SUPPORTED_FORMATS: readonly ["mp3", "ogg_vorbis", "pcm"]; readonly SUPPORTED_VOICES: { readonly MALE: readonly ["Matthew", "Justin", "Joey"]; readonly FEMALE: readonly ["Joanna", "Kendra", "Kimberly"]; }; }; export type PollyEngine = typeof AWS_POLLY_CONFIG.SUPPORTED_ENGINES[number]; export type PollyFormat = typeof AWS_POLLY_CONFIG.SUPPORTED_FORMATS[number]; export type PollyVoice = typeof AWS_POLLY_CONFIG.SUPPORTED_VOICES.MALE[number] | typeof AWS_POLLY_CONFIG.SUPPORTED_VOICES.FEMALE[number]; export declare const DEFAULT_POLLY_REQUEST: { readonly voiceId: "Matthew"; readonly engine: "generative"; readonly outputFormat: "mp3"; };