import { Models } from "../../client"; import { ServiceClient } from "../../service-client"; export type TenantSimple = { id: string; name: string; slug: string; icon: string | null; deactivatedReason: string | null; types: any[]; active: boolean; }; export declare class _TenantService extends ServiceClient { getServiceName(): string; get(tenantId: string): Promise; /** * Create account * * Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [/account/verfication](https://appconda.io/docs/references/cloud/client-web/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https://appconda.io/docs/references/cloud/client-web/account#createEmailSession). * * @param {string} tenantId * @param {string} name * @param {string} slug * @throws {AppcondaException} * @returns {Promise>} */ create({ $id, name, slug }: Models.Tenant): Promise; list(queries?: string[], search?: string): Promise; listUserTenants(userId: string, queries?: string[], search?: string): Promise; listTenantUsers(tenantId: string, queries?: string[], search?: string): Promise; createTenantUser({ tenantId, userId }: Models.TenantUser): Promise; adminGetAllTenantsIdsAndNames(): Promise; }