import { type Transport } from '@connectrpc/connect'; import type { GetCurrentMonthUsageResponse as PBGetCurrentMonthUsageResponse } from '../gen/app/v1/billing_pb'; export type GetCurrentMonthUsageResponse = Partial & { start?: Date; end?: Date; }; export declare class BillingClient { private client; constructor(transport: Transport); /** * Get the data usage information for the current month for a given * organization. * * @example * * ```ts * const usage = await billing.getCurrentMonthUsage(''); * ``` * * For more information, see [Billing * API](https://docs.viam.com/dev/reference/apis/billing-client/#getcurrentmonthusage). * * @param orgId - The organization ID. */ getCurrentMonthUsage(orgId: string): Promise; /** * Get the billing information (payment method, billing tier, etc.) for a * given org. * * @example * * ```ts * const billingInfo = await billing.getOrgBillingInformation( * '' * ); * ``` * * For more information, see [Billing * API](https://docs.viam.com/dev/reference/apis/billing-client/#getorgbillinginformation). * * @param orgId - The organization ID. */ getOrgBillingInformation(orgId: string): Promise; /** * Get total outstanding balance plus invoice summaries for a given org. * * @example * * ```ts * const invoicesSummary = await billing.getInvoicesSummary( * '' * ); * ``` * * For more information, see [Billing * API](https://docs.viam.com/dev/reference/apis/billing-client/#getinvoicesummary). * * @param orgId - The organization ID. */ getInvoicesSummary(orgId: string): Promise; /** * Get invoice PDF data. * * @example * * ```ts * const invoicePdf = await billing.getInvoicePdf( * '', * '' * ); * ``` * * For more information, see [Billing * API](https://docs.viam.com/dev/reference/apis/billing-client/#getinvoicepdf). * * @param id - The invoice ID. * @param orgId - The organization ID. */ getInvoicePdf(id: string, orgId: string): Promise; }