import { AcEdOpenMode } from '@mlightcad/cad-simple-viewer'; import { LocaleProp } from '../locale'; interface Props { /** Language locale for internationalization ('en', 'zh', or 'default') */ locale?: LocaleProp; /** Optional URL to automatically load a CAD file on component mount */ url?: string; /** Optional local File object to automatically load a CAD file on component mount */ localFile?: File; /** Background color as 24-bit hexadecimal RGB number (e.g., 0x000000) */ background?: number; /** Base URL for loading fonts, templates, and example files (e.g., 'https://example.com/cad-data/') */ baseUrl?: string; /** * URL of the offline HTML viewer runtime (`viewer-runtime.iife.js`). * Required for File menu “Export to HTML”; copy the file from * `@mlightcad/cad-html-exporter` build output into your app assets. */ htmlViewerRuntimeUrl?: string | URL; /** * The flag whether to use main thread or webwork to render drawing. * - true: use main thread * - false: use web worker */ useMainThreadDraw?: boolean; /** Initial theme of the viewer */ theme?: 'light' | 'dark'; /** * Access mode for opening CAD files. * - Read (0): Read-only access * - Review (4): Review access, compatible with Read * - Write (8): Full read/write access, compatible with Review and Read */ mode?: AcEdOpenMode; } declare const _default: import('vue').DefineComponent, { locale: string; url: undefined; localFile: undefined; background: undefined; baseUrl: undefined; htmlViewerRuntimeUrl: string; useMainThreadDraw: boolean; theme: string; mode: AcEdOpenMode; }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { create: () => void; destroy: () => void; }, string, import('vue').PublicProps, Readonly, { locale: string; url: undefined; localFile: undefined; background: undefined; baseUrl: undefined; htmlViewerRuntimeUrl: string; useMainThreadDraw: boolean; theme: string; mode: AcEdOpenMode; }>>> & Readonly<{ onCreate?: (() => any) | undefined; onDestroy?: (() => any) | undefined; }>, { theme: "light" | "dark"; locale: LocaleProp; mode: AcEdOpenMode; background: number; url: string; localFile: File; baseUrl: string; htmlViewerRuntimeUrl: string | URL; useMainThreadDraw: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export default _default; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_PrettifyLocal : P[K]; }; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToOption = { [K in keyof T]-?: {} extends Pick ? { type: import('vue').PropType<__VLS_NonUndefinedable>; } : { type: import('vue').PropType; required: true; }; }; type __VLS_PrettifyLocal = { [K in keyof T]: T[K]; } & {}; //# sourceMappingURL=MlCadViewer.vue.d.ts.map