packageDocumentation module import { AccessToken } from "@itwin/core-bentley" ; import { Project as ITwin } from "@itwin/projects-client" ; import { AuthorizationClient } from "@itwin/core-common" ; import { IModelClient } from "./IModelClient" ; internal export interface ITwinManagerClient { getITwinByName ( accessToken , name ) : Promise < ITwin > ; } internal export interface IModelCloudEnvironment { readonly isIModelHub : boolean ; readonly iTwinMgr : ITwinManagerClient ; readonly imodelClient : IModelClient ; getAuthorizationClient ( userCredentials ) : AuthorizationClient ; startup ( ) : Promise < void > ; shutdown ( ) : Promise < number > ; }