@voiceflow/voiceflow-types
Version:
Voiceflow 'voiceflow' project types
18 lines • 1 kB
TypeScript
import type { DeepPartialByKey } from '@voiceflow/base-types';
import { VoiceVersion } from '@voiceflow/voice-types';
import { Voice } from '../../constants/index.js';
import type { BasePrototype } from '../base.js';
import type { SharedVoiceSettings, VoiceSettings } from './settings.js';
export * from './settings.js';
export interface SharedVoicePlatformData extends VoiceVersion.PlatformData<Voice> {
settings: SharedVoiceSettings;
}
export interface VoicePlatformData extends SharedVoicePlatformData {
settings: VoiceSettings;
}
export interface VoiceVersion extends VoiceVersion.Version<Voice, BasePrototype> {
platformData: VoicePlatformData;
}
export declare const defaultSharedVoicePlatformData: ({ settings, ...data }: DeepPartialByKey<SharedVoicePlatformData, 'settings'>) => SharedVoicePlatformData;
export declare const defaultVoicePlatformData: ({ settings, ...data }: DeepPartialByKey<VoicePlatformData, 'settings'>) => VoicePlatformData;
//# sourceMappingURL=index.d.ts.map