import type { HttpClient } from "../core/http.js"; import type { UsageSummaryResponse, UsageHistoryResponse, LlmTokenBillingStatus, LlmCheckoutResponse, LlmDisableResponse, LlmCancelDuplicatesResponse, OneclawResponse } from "../types.js"; /** * Billing resource — usage summaries, history, and LLM token billing. */ export declare class BillingResource { private readonly http; constructor(http: HttpClient); /** Get the current month's usage summary (free tier remaining, costs). */ usage(): Promise>; /** * Get per-request usage history. * @param limit Maximum number of events to return (1–200, default 50). */ history(limit?: number): Promise>; /** Get LLM token billing status for the current org. */ llmTokenBilling(): Promise>; /** * Subscribe to LLM token billing. Returns a Stripe Checkout URL. * Redirect the user to complete the subscription. */ subscribeLlmTokenBilling(): Promise>; /** Disable LLM token billing for the current org. */ disableLlmTokenBilling(): Promise>; /** Cancel duplicate LLM billing subscriptions, keeping one primary subscription. */ cancelLlmDuplicateSubscriptions(): Promise>; } //# sourceMappingURL=billing.d.ts.map