import type { RpcInterface, RpcInterfaceDefinition } from "@itwin/core-common"; import type { BlankViewerProps, ConnectedViewerProps, FileViewerProps, ViewerCommonProps, XOR } from "@itwin/viewer-react"; export type DesktopInitializerParams = ViewerCommonProps & { rpcInterfaces?: RpcInterfaceDefinition[]; clientId?: string; }; type ClientIdProps = { clientId: string; iTwinId: string; } | { clientId?: string; iTwinId?: never; }; type ConnectedViewerDesktopProps = ConnectedViewerProps & Required>; type BlankViewerDesktopProps = BlankViewerProps & ClientIdProps; type FileViewerDesktopProps = FileViewerProps & Pick; /** Desktop Viewer can open local (snapshot/briefcase), connected or blank connection models */ export type DesktopViewerProps = DesktopInitializerParams & XOR, ConnectedViewerDesktopProps>; export declare enum ModelStatus { ONLINE = 0, OUTDATED = 1, DOWNLOADING = 2, MERGING = 3, ERROR = 4, UPTODATE = 5, SNAPSHOT = 6, COMPARING = 7 } export interface ProgressInfo { percent?: number; total?: number; loaded: number; } export {}; //# sourceMappingURL=types.d.ts.map