import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { PageIterator } from "../types/operations.js"; export declare class Tenants extends ClientSDK { /** * List Tenants * * @remarks * List all tenants with cursor-based pagination. * * **Requirements:** This endpoint requires Redis with RediSearch module (e.g., `redis/redis-stack-server`). * If RediSearch is not available, this endpoint returns `501 Not Implemented`. * * When authenticated with a Tenant JWT, returns only the authenticated tenant. Pagination is not used in this case. */ list(request: operations.ListTenantsRequest, options?: RequestOptions): Promise>; /** * Create or Update Tenant * * @remarks * Idempotently creates or updates a tenant. Required before associating destinations. */ upsert(tenantId: string, body?: components.TenantUpsert | undefined, options?: RequestOptions): Promise; /** * Get Tenant * * @remarks * Retrieves details for a specific tenant. */ get(tenantId: string, options?: RequestOptions): Promise; /** * Delete Tenant * * @remarks * Deletes the tenant and all associated destinations. */ delete(tenantId: string, options?: RequestOptions): Promise; /** * Get Portal Redirect URL * * @remarks * Returns a redirect URL containing a JWT to authenticate the user with the portal. Requires Admin API Key. */ getPortalUrl(tenantId: string, theme?: operations.Theme | undefined, options?: RequestOptions): Promise; /** * Get Tenant JWT Token * * @remarks * Returns a JWT token scoped to the tenant for safe browser API calls. Requires Admin API Key. */ getToken(tenantId: string, options?: RequestOptions): Promise; } //# sourceMappingURL=tenants.d.ts.map