codecrucible-synth
Version:
Production-Ready AI Development Platform with Multi-Voice Synthesis, Smithery MCP Integration, Enterprise Security, and Zero-Timeout Reliability
107 lines • 3.17 kB
TypeScript
/**
* Voice Value Objects
* Immutable domain values for voice configuration
*
* Living Spiral Council Applied:
* - Immutable value objects with built-in validation
* - Type safety and business rule enforcement
* - No external dependencies
*/
/**
* Voice Style Value Object
* Represents the behavioral style of a voice archetype
*/
export declare class VoiceStyle {
private readonly _value;
private constructor();
get value(): string;
static create(style: string): VoiceStyle;
static experimental(): VoiceStyle;
static conservative(): VoiceStyle;
static analytical(): VoiceStyle;
static systematic(): VoiceStyle;
static creative(): VoiceStyle;
static practical(): VoiceStyle;
private static isValidStyle;
private static getValidStyles;
equals(other: VoiceStyle): boolean;
toString(): string;
}
/**
* Voice Temperature Value Object
* Represents the creativity/randomness level of a voice (0.0 to 1.0)
*/
export declare class VoiceTemperature {
private readonly _value;
private constructor();
get value(): number;
static create(temperature: number): VoiceTemperature;
static conservative(): VoiceTemperature;
static balanced(): VoiceTemperature;
static creative(): VoiceTemperature;
private static isValidTemperature;
/**
* Check if this temperature is suitable for creative tasks
*/
isCreative(): boolean;
/**
* Check if this temperature is suitable for analytical tasks
*/
isAnalytical(): boolean;
/**
* Check if this temperature is balanced
*/
isBalanced(): boolean;
equals(other: VoiceTemperature): boolean;
toString(): string;
}
/**
* Provider Type Value Object
* Represents the type of AI model provider
*/
export declare class ProviderType {
private readonly _value;
private constructor();
get value(): string;
static create(type: string): ProviderType;
static ollama(): ProviderType;
static lmStudio(): ProviderType;
static huggingface(): ProviderType;
static auto(): ProviderType;
private static isValidType;
private static getValidTypes;
equals(other: ProviderType): boolean;
toString(): string;
}
/**
* Model Name Value Object
* Represents a validated AI model name
*/
export declare class ModelName {
private readonly _value;
private constructor();
get value(): string;
static create(name: string): ModelName;
equals(other: ModelName): boolean;
toString(): string;
}
/**
* Request Priority Value Object
* Represents the priority level of a processing request
*/
export declare class RequestPriority {
private readonly _value;
private readonly _numericValue;
private constructor();
get value(): string;
get numericValue(): number;
static create(priority: string): RequestPriority;
static low(): RequestPriority;
static medium(): RequestPriority;
static high(): RequestPriority;
static critical(): RequestPriority;
isHigherThan(other: RequestPriority): boolean;
equals(other: RequestPriority): boolean;
toString(): string;
}
//# sourceMappingURL=voice-values.d.ts.map