import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "./models/index.js"; export declare class Entitlements extends ClientSDK { /** * Get addon entitlements * * @remarks * Use when checking what features or limits an addon grants (e.g. for display or entitlement logic). */ getAddonEntitlements(id: string, options?: RequestOptions): Promise; /** * Create entitlement * * @remarks * Use when attaching a feature (and its limit) to a plan or addon (e.g. "10 seats" or "1000 API calls"). Defines what the plan/addon includes. */ createEntitlement(request: models.CreateEntitlementRequest, options?: RequestOptions): Promise; /** * Create entitlements in bulk * * @remarks * Use when attaching many features to a plan or addon at once (e.g. initial plan setup or import). Bulk version of create entitlement. */ createEntitlementsBulk(request: models.CreateBulkEntitlementRequest, options?: RequestOptions): Promise; /** * Query entitlements * * @remarks * Use when listing or searching entitlements (e.g. plan editor or audit). Returns a paginated list; supports filtering by plan, addon, feature. */ queryEntitlement(request: models.EntitlementFilter, options?: RequestOptions): Promise; /** * Get entitlement * * @remarks * Use when you need to load a single entitlement (e.g. to display or edit a feature limit). */ getEntitlement(id: string, options?: RequestOptions): Promise; /** * Update entitlement * * @remarks * Use when changing an entitlement (e.g. increasing or decreasing a limit). Request body contains the fields to update. */ updateEntitlement(id: string, body: models.UpdateEntitlementRequest, options?: RequestOptions): Promise; /** * Delete entitlement * * @remarks * Use when removing a feature from a plan or addon (e.g. deprecating a capability). Returns 200 with success message. */ deleteEntitlement(id: string, options?: RequestOptions): Promise; /** * Get plan entitlements * * @remarks * Use when checking what a plan includes (e.g. feature list or limits for display or gating). */ getPlanEntitlements(id: string, options?: RequestOptions): Promise; } //# sourceMappingURL=entitlements.d.ts.map