declare const _exports: { addTenantToUrl: (url: string) => string; doesTenantExist: (tenantId: string) => Promise; tryAddTenant: (tenantId: string, userId: string, email: string, afterCreateTenant: () => Promise) => Promise; getGlobalDBName: (tenantId?: string | undefined) => string; doWithGlobalDB: (tenantId: string, cb: any) => Promise; lookupTenantId: (userId: string) => Promise; getTenantUser: (identifier: string) => Promise; isUserInAppTenant: (appId: string, user: any) => boolean; getTenantIds: () => Promise; DEFAULT_TENANT_ID: "default"; closeTenancy: () => Promise; isMultiTenant: () => string | undefined; getTenantIDFromAppID: (appId: string) => string | null; doInTenant: (tenantId: string | null, task: any) => Promise; doInAppContext: (appId: string, task: any) => Promise; doInIdentityContext: (identity: import("@budibase/types").IdentityContext, task: any) => Promise; getIdentity: () => import("@budibase/types").IdentityContext | undefined; updateTenantId: (tenantId: string | null) => void; updateAppId: (appId: string) => Promise; setGlobalDB: (tenantId: string | null) => any; getGlobalDB: () => any; isTenantIdSet: () => boolean; getTenantId: () => any; getAppId: () => any; getAppDB: (opts?: any) => any; getProdAppDB: (opts?: any) => any; getDevAppDB: (opts?: any) => any; }; export = _exports;