import { type Client } from '../core.js'; import { type Result, type RequestOptions } from '../lib/types.js'; import type { ListGrantsRequest, ListGrantsResponse, VoidGrantRequest, VoidGrantResponse } from '../models/operations/grants.js'; /** * List grants * * List the grants of all customers and entitlements. To list the grants of a * single entitlement, use the customer entitlement grants endpoint. * * Deleted grants are excluded unless `include_deleted` is set. Voided and expired * grants are always included, as they are part of the balance history. * * GET /openmeter/grants */ export declare function listGrants(client: Client, req?: ListGrantsRequest, options?: RequestOptions): Promise>; /** * Void grant * * Void a grant so it no longer adds to the balance. Usage already deducted from * the grant is kept. * * DELETE /openmeter/grants/{grantId} */ export declare function voidGrant(client: Client, req: VoidGrantRequest, options?: RequestOptions): Promise>;