import { type Client } from '../core.js'; import { type Result, type RequestOptions } from '../lib/types.js'; import type { ListCustomerEntitlementAccessRequest, ListCustomerEntitlementAccessResponse, GetCustomerEntitlementAccessRequest, GetCustomerEntitlementAccessResponse, GetCustomerEntitlementValueByFeatureKeyRequest, GetCustomerEntitlementValueByFeatureKeyResponse, ListEntitlementsRequest, ListEntitlementsResponse, GetEntitlementRequest, GetEntitlementResponse, GetCustomerEntitlementValueRequest, GetCustomerEntitlementValueResponse } from '../models/operations/entitlements.js'; /** * List customer entitlement access * * GET /openmeter/customers/{customerId}/entitlement-access */ export declare function listCustomerEntitlementAccess(client: Client, req: ListCustomerEntitlementAccessRequest, options?: RequestOptions): Promise>; /** * Get customer entitlement access * * Get the customer's access to a single feature. * * GET /openmeter/customers/{customerId}/entitlement-access/features/{featureKey} */ export declare function getCustomerEntitlementAccess(client: Client, req: GetCustomerEntitlementAccessRequest, options?: RequestOptions): Promise>; /** * Get customer entitlement value by feature key * * Get the customer's entitlement value for a feature at a point in time. Without * an active entitlement, the result denies access and omits the type. * * GET /openmeter/customers/{customerId}/entitlement-access/features/{featureKey}/value */ export declare function getCustomerEntitlementValueByFeatureKey(client: Client, req: GetCustomerEntitlementValueByFeatureKeyRequest, options?: RequestOptions): Promise>; /** * List entitlements * * List the active entitlements of all customers. Intended for administrative use. * To list the entitlements of a single customer, use the customer entitlements * endpoints; to check entitlement access, use the entitlement access endpoints. * * GET /openmeter/entitlements */ export declare function listEntitlements(client: Client, req?: ListEntitlementsRequest, options?: RequestOptions): Promise>; /** * Get entitlement * * Get an entitlement by ID. To check entitlement access, use the entitlement * access endpoints instead. * * GET /openmeter/entitlements/{entitlementId} */ export declare function getEntitlement(client: Client, req: GetEntitlementRequest, options?: RequestOptions): Promise>; /** * Get customer entitlement value * * Get the customer's access through a single entitlement, optionally evaluated at * a point in time. * * GET /openmeter/customers/{customerId}/entitlements/{entitlementId}/value */ export declare function getCustomerEntitlementValue(client: Client, req: GetCustomerEntitlementValueRequest, options?: RequestOptions): Promise>;