/** @packageDocumentation * @module RpcInterface */ import { GuidString, Id64String } from "@bentley/bentleyjs-core"; import { Range3dProps } from "@bentley/geometry-core"; import { ElementLoadOptions, ElementProps } from "../ElementProps"; import { CodeProps } from "../Code"; import { EntityQueryParams } from "../EntityProps"; import { GeoCoordinatesResponseProps, IModelCoordinatesResponseProps } from "../GeoCoordinateServices"; import { GeometrySummaryRequestProps } from "../GeometrySummary"; import { IModelConnectionProps, IModelRpcOpenProps, IModelRpcProps } from "../IModel"; import { MassPropertiesRequestProps, MassPropertiesResponseProps } from "../MassProperties"; import { ModelProps } from "../ModelProps"; import { QueryLimit, QueryPriority, QueryQuota, QueryResponse } from "../Paging"; import { RpcInterface } from "../RpcInterface"; import { SnapRequestProps, SnapResponseProps } from "../Snapping"; import { ViewStateLoadProps, ViewStateProps } from "../ViewProps"; import { RpcNotFoundResponse } from "./core/RpcControl"; import { GeometryContainmentRequestProps, GeometryContainmentResponseProps } from "../GeometryContainment"; import { RpcRoutingToken } from "./core/RpcRoutingToken"; import { TextureLoadProps } from "../TextureProps"; /** Response if the IModelDb was not found at the backend * (if the service has moved) * @public */ export declare class IModelNotFoundResponse extends RpcNotFoundResponse { isIModelNotFoundResponse: boolean; } /** The RPC interface for reading from an iModel. * All operations only require read-only access. * This interface is not normally used directly. See IModelConnection for higher-level and more convenient API for accessing iModels from a frontend. * @internal */ export declare abstract class IModelReadRpcInterface extends RpcInterface { /** Returns the IModelReadRpcInterface instance for the frontend. */ static getClient(): IModelReadRpcInterface; /** Returns the IModelReadRpcInterface instance for a custom RPC routing configuration. */ static getClientForRouting(token: RpcRoutingToken): IModelReadRpcInterface; /** The immutable name of the interface. */ static readonly interfaceName = "IModelReadRpcInterface"; /** The semantic version of the interface. */ static interfaceVersion: string; openForRead(_iModelToken: IModelRpcOpenProps): Promise; close(_iModelToken: IModelRpcProps): Promise; queryRows(_iModelToken: IModelRpcProps, _ecsql: string, _bindings?: any[] | object, _limit?: QueryLimit, _quota?: QueryQuota, _priority?: QueryPriority, _restartToken?: string, _abbreviateBlobs?: boolean): Promise; getModelProps(_iModelToken: IModelRpcProps, _modelIds: Id64String[]): Promise; queryModelRanges(_iModelToken: IModelRpcProps, _modelIds: Id64String[]): Promise; queryModelProps(_iModelToken: IModelRpcProps, _params: EntityQueryParams): Promise; getElementProps(_iModelToken: IModelRpcProps, _elementIds: Id64String[]): Promise; queryElementProps(_iModelToken: IModelRpcProps, _params: EntityQueryParams): Promise; queryEntityIds(_iModelToken: IModelRpcProps, _params: EntityQueryParams): Promise; getClassHierarchy(_iModelToken: IModelRpcProps, _startClassName: string): Promise; getAllCodeSpecs(_iModelToken: IModelRpcProps): Promise; getViewStateData(_iModelToken: IModelRpcProps, _viewDefinitionId: string, _options?: ViewStateLoadProps): Promise; readFontJson(_iModelToken: IModelRpcProps): Promise; getToolTipMessage(_iModelToken: IModelRpcProps, _elementId: string): Promise; getViewThumbnail(_iModelToken: IModelRpcProps, _viewId: string): Promise; getDefaultViewId(_iModelToken: IModelRpcProps): Promise; requestSnap(_iModelToken: IModelRpcProps, _sessionId: string, _props: SnapRequestProps): Promise; cancelSnap(_iModelToken: IModelRpcProps, _sessionId: string): Promise; getGeometryContainment(_iModelToken: IModelRpcProps, _props: GeometryContainmentRequestProps): Promise; getMassProperties(_iModelToken: IModelRpcProps, _props: MassPropertiesRequestProps): Promise; getIModelCoordinatesFromGeoCoordinates(_iModelToken: IModelRpcProps, _props: string): Promise; getGeoCoordinatesFromIModelCoordinates(_iModelToken: IModelRpcProps, _props: string): Promise; getGeometrySummary(_iModelToken: IModelRpcProps, _props: GeometrySummaryRequestProps): Promise; getTextureImage(_iModelToken: IModelRpcProps, _textureLoadProps: TextureLoadProps): Promise; loadElementProps(_iModelToken: IModelRpcProps, _elementIdentifier: Id64String | GuidString | CodeProps, _options?: ElementLoadOptions): Promise; } //# sourceMappingURL=IModelReadRpcInterface.d.ts.map