ai-meter
Version:
A javascript library designed to estimate AI models tokens and its API costs.
11 lines • 343 B
TypeScript
import { HttpClient } from '@/types';
import { CostRequest, CostResponse } from '@/types';
/**
* Class for fetching data from the server
*/
export declare class Fetching {
private readonly httpClient;
constructor(httpClient: HttpClient);
cost(request: CostRequest): Promise<CostResponse>;
}
//# sourceMappingURL=Fetching.d.ts.map