gemini-cost-tracker
Version:
CLI tool to display token usage and costs for Gemini and Vertex AI
16 lines • 825 B
TypeScript
import { CLIOptions, Period, Format, Currency } from '../types/index.js';
export declare class ValidationUtils {
static isValidPeriod(period: string): period is Period;
static isValidFormat(format: string): format is Format;
static isValidCurrency(currency: string): currency is Currency;
static isValidModel(model: string): boolean;
static validateDateRange(startDate: string, endDate: string): void;
static validateGcpProjectId(projectId: string): void;
static validateApiKey(apiKey: string): void;
static validateFilePath(filePath: string): void;
static validateCliOptions(options: CLIOptions): void;
static sanitizeInput(input: string): string;
static isValidEmail(email: string): boolean;
static isValidUrl(url: string): boolean;
}
//# sourceMappingURL=validation.d.ts.map