minimax-mcp-tools
Version:
Async MCP server with Minimax API integration for image generation and text-to-speech
31 lines • 779 B
TypeScript
interface Config {
apiKey: string;
apiHost: string;
logLevel: 'error' | 'debug';
tempDir: string;
maxConcurrency: number;
retryAttempts: number;
retryDelay: number;
}
interface RetryConfig {
attempts: number;
delay: number;
}
export declare class ConfigManager {
private static instance;
private config;
constructor();
static getInstance(): ConfigManager;
private loadConfig;
private getRequiredEnv;
get<K extends keyof Config>(key: K): Config[K];
getApiKey(): string;
getApiHost(): string | undefined;
getTempDir(): string;
getMaxConcurrency(): number;
getRetryConfig(): RetryConfig;
isDebugMode(): boolean;
validate(): boolean;
}
export {};
//# sourceMappingURL=config-manager.d.ts.map