import { APIResource } from "../core/resource.js"; import { APIPromise } from "../core/api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class Key extends APIResource { /** * To monitor your account's API usage, including rate limits, monthly total * credits, remaining credits, and more */ get(options?: RequestOptions): APIPromise; } export interface KeyGetResponse { /** * Total API calls made this month by this API key */ api_key_current_total_monthly_calls: number; /** * Monthly call credit limit configured for this API key */ api_key_monthly_call_credit: number; /** * Rate limit per minute configured for this API key */ api_key_rate_limit_request_per_minute: number; /** * Remaining API call credits this month */ current_remaining_monthly_calls: number; /** * Total API calls made this month */ current_total_monthly_calls: number; /** * Total monthly API call credits for the plan */ monthly_call_credit: number; /** * Current subscription plan */ plan: string; /** * Rate limit per minute for the plan */ rate_limit_request_per_minute: number; } export declare namespace Key { export { type KeyGetResponse as KeyGetResponse }; } //# sourceMappingURL=key.d.ts.map