UNPKG

@itwin/core-backend

Version:
18 lines 1.07 kB
/** @packageDocumentation * @module RpcInterface */ import { IModelConnectionProps, IModelRpcProps, RpcInterface, SnapshotIModelRpcInterface, SnapshotOpenOptions } from "@itwin/core-common"; /** The backend implementation of SnapshotIModelRpcInterface. * @internal * @deprecated in 5.0 - will not be removed until after 2026-06-13. Check [[IpcAppFunctions]] for replacements. */ export declare class SnapshotIModelRpcImpl extends RpcInterface implements SnapshotIModelRpcInterface { static register(): void; /** Ask the backend to open a snapshot iModel from a file name that is resolved by the backend. */ openFile(filePath: string, opts?: SnapshotOpenOptions): Promise<IModelConnectionProps>; /** Ask the backend to open a snapshot iModel from a key that is resolved by the backend. */ openRemote(fileKey: string, opts?: SnapshotOpenOptions): Promise<IModelConnectionProps>; /** Ask the backend to close a snapshot iModel. */ close(tokenProps: IModelRpcProps): Promise<boolean>; } //# sourceMappingURL=SnapshotIModelRpcImpl.d.ts.map