import { APIResource } from "../../core/resource.mjs"; import * as OrganizationsAPI from "../organizations/organizations.mjs"; import { OrganizationsSinglePage } from "../organizations/organizations.mjs"; import { PagePromise } from "../../core/pagination.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class BaseTenants extends APIResource { static readonly _key: readonly ['user', 'tenants']; /** * Retrieves list of tenants the authenticated user / method has access to. * * @example * ```ts * // Automatically fetches more pages as needed. * for await (const organization of client.user.tenants.list()) { * // ... * } * ``` */ list(options?: RequestOptions): PagePromise; } export declare class Tenants extends BaseTenants { } export { type OrganizationsSinglePage }; //# sourceMappingURL=tenants.d.mts.map