import type { IModelConnection, ViewState } from "@itwin/core-frontend"; import { BriefcaseConnection, CheckpointConnection, SnapshotConnection } from "@itwin/core-frontend"; import type { BlankConnectionViewState, ViewerViewCreator3dOptions, ViewerViewportControlOptions } from "../../types.js"; /** open and return an IModelConnection from a project's wsgId and an imodel's wsgId */ export declare const openRemoteIModel: (iTwinId: string, iModelId: string, changeSetId?: string) => Promise; /** * Attempt to open a local briefcase or snapshot * @param fileName * @returns */ export declare const openLocalIModel: (fileName: string, readonly?: boolean) => Promise; /** * Generate a viewstate and set it in UiFramework * @param connection \ * @param viewportOptions * @param viewCreatorOptions * @param blankConnectionViewState * @returns */ export declare const getAndSetViewState: (connection: IModelConnection, viewportOptions?: ViewerViewportControlOptions, viewCreatorOptions?: ViewerViewCreator3dOptions, blankConnectionViewState?: BlankConnectionViewState) => Promise; /** * Generate a viewstate * @param connection * @param viewportOptions * @param viewCreatorOptions * @param blankConnectionViewState * @returns */ export declare const getViewState: (connection: IModelConnection, viewportOptions?: ViewerViewportControlOptions, viewCreatorOptions?: ViewerViewCreator3dOptions, blankConnectionViewState?: BlankConnectionViewState) => Promise; //# sourceMappingURL=IModelService.d.ts.map