import { APIResource } from "../../core/resource.js";
import * as OrganizationsAPI from "../organizations/organizations.js";
import { OrganizationsSinglePage } from "../organizations/organizations.js";
import { PagePromise } from "../../core/pagination.js";
import { RequestOptions } from "../../internal/request-options.js";
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<OrganizationsSinglePage, OrganizationsAPI.Organization>;
}
export declare class Tenants extends BaseTenants {
}
export { type OrganizationsSinglePage };
//# sourceMappingURL=tenants.d.ts.map