UNPKG

@bratcliffe909/mcp-server-segmind

Version:

Model Context Protocol server for Segmind API - Generate images and videos using AI models

38 lines 1.14 kB
interface ModelCostData { modelId: string; averageCost: number; minCost: number; maxCost: number; sampleCount: number; lastUpdated: string; parameters?: { resolution?: string; quality?: string; samples?: number; }; } interface CostDatabase { version: string; models: Record<string, ModelCostData>; lastUpdated: string; } declare class CostTracker { private static instance; private costData; private dataPath; private isDirty; private constructor(); static getInstance(): CostTracker; private loadCostData; private saveCostData; recordCost(modelId: string, creditsUsed: number, parameters?: Record<string, unknown>): void; getEstimatedCost(modelId: string): number | null; getCostInfo(modelId: string): ModelCostData | null; getAllCosts(): Record<string, ModelCostData>; clearModelData(modelId: string): void; exportData(): CostDatabase; importData(data: CostDatabase): void; } export declare const costTracker: CostTracker; export type { ModelCostData, CostDatabase }; //# sourceMappingURL=cost-tracker.d.ts.map