UNPKG

@itwin/core-backend

Version:
21 lines 1.45 kB
/** @packageDocumentation * @module RpcInterface */ import { Id64Array } from "@itwin/core-bentley"; import { ElementGraphicsRequestProps, IModelRpcProps, IModelTileRpcInterface, IModelTileTreeProps, RpcInterface, TileContentIdentifier, TileContentSource, TileTreeContentIds, TileVersionInfo } from "@itwin/core-common"; import type { TransferConfig } from "@itwin/object-storage-core"; /** @internal */ export declare class IModelTileRpcImpl extends RpcInterface implements IModelTileRpcInterface { static register(): void; requestTileTreeProps(tokenProps: IModelRpcProps, treeId: string): Promise<IModelTileTreeProps>; purgeTileTrees(tokenProps: IModelRpcProps, modelIds: Id64Array | undefined): Promise<void>; generateTileContent(tokenProps: IModelRpcProps, treeId: string, contentId: string, guid: string | undefined): Promise<TileContentSource>; retrieveTileContent(tokenProps: IModelRpcProps, key: TileContentIdentifier): Promise<Uint8Array>; getTileCacheConfig(tokenProps: IModelRpcProps): Promise<TransferConfig | undefined>; queryVersionInfo(): Promise<TileVersionInfo>; /** @internal */ requestElementGraphics(rpcProps: IModelRpcProps, request: ElementGraphicsRequestProps): Promise<Uint8Array | undefined>; } /** @internal */ export declare function cancelTileContentRequests(tokenProps: IModelRpcProps, contentIds: TileTreeContentIds[]): Promise<void>; //# sourceMappingURL=IModelTileRpcImpl.d.ts.map