import { AcApHtmlExpiryDays, AcApHtmlExportFormat, AcExHtmlBackground, AcExInitialViewMode, AcExViewerMode } from '@mlightcad/cad-html-plugin';
/**
* Public props for {@link MlExportHtmlDlg}.
*
* @remarks
* Registered as `ExportHtmlDlg` in the dialog manager; parents bind `v-model`
* to control visibility.
*/
export interface MlExportHtmlDlgProps {
/**
* Controls dialog visibility; use with `v-model` / `update:modelValue`.
*/
modelValue: boolean;
}
/**
* Reactive form fields edited in the export HTML dialog.
*
* @remarks
* Values mirror {@link AcApHtmlExportOptions} and are reset to package defaults
* each time the dialog opens.
*/
export interface MlExportHtmlDlgForm {
/**
* Packaging mode: self-contained HTML or multi-file package zip.
*/
exportFormat: AcApHtmlExportFormat;
/**
* When `true`, off/frozen layer geometry is included in the exported snapshot.
*/
exportInvisibleLayers: boolean;
/**
* When `true`, paper-space layouts are included in the exported snapshot.
*/
exportLayouts: boolean;
/**
* Canvas background written into the exported HTML.
*/
background: AcExHtmlBackground;
/**
* Initial framing when the exported HTML is opened (`fit` = zoom extents).
*/
initialView: AcExInitialViewMode;
/**
* Offline viewer capability profile (`view` omits measurement tools and OSNAP data).
*/
viewerMode: AcExViewerMode;
/**
* Max uncompressed geometry chunk size in MiB (multi-file package only).
*/
chunkSizeMiB: number;
/**
* When `true`, multi-file package chunks are gzip-compressed before zipping.
*/
compressChunks: boolean;
/** How long the exported HTML remains valid. */
expiryDays: AcApHtmlExpiryDays;
/** Absolute expiry used when {@link MlExportHtmlDlgForm.expiryDays} is `'custom'`. */
customExpiresAt: Date | null;
/** Optional password required to open the exported HTML. */
password: string;
}
/**
* Emits supported by {@link MlExportHtmlDlg}.
*/
export type MlExportHtmlDlgEmits = {
(e: 'update:modelValue', value: boolean): void;
};
declare const __VLS_export: import('vue').DefineComponent>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: boolean) => void;
}, string, import('vue').PublicProps, Readonly>> & Readonly<{
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_TypePropsToOption = {
[K in keyof T & string]-?: {} extends Pick ? {
type: import('vue').PropType[K]>;
} : {
type: import('vue').PropType;
required: true;
};
};
//# sourceMappingURL=MlExportHtmlDlg.vue.d.ts.map