import type { PropType, ExtractPropTypes, EmitsToProps } from 'vue'; import type { ClassValues } from '../ele-app/types'; /** * 属性 */ export declare const imageViewerProps: { teleported: { type: BooleanConstructor; default: boolean; }; /** 是否打开 */ modelValue: BooleanConstructor; /** 自定义类名 */ customClass: PropType; /** 自定义样式 */ customStyle: ObjectConstructor; /** 过渡动画名称 */ transitionName: { type: StringConstructor; default: string; }; /** 是否失活后仍然显示 */ keepAlive: BooleanConstructor; urlList: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>; zIndex: { readonly type: PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; initialIndex: import("element-plus/es/utils/vue/props/types").EpPropFinalized; infinite: import("element-plus/es/utils/vue/props/types").EpPropFinalized; hideOnClickModal: BooleanConstructor; closeOnPressEscape: import("element-plus/es/utils/vue/props/types").EpPropFinalized; zoomRate: import("element-plus/es/utils/vue/props/types").EpPropFinalized; scale: import("element-plus/es/utils/vue/props/types").EpPropFinalized; minScale: import("element-plus/es/utils/vue/props/types").EpPropFinalized; maxScale: import("element-plus/es/utils/vue/props/types").EpPropFinalized; showProgress: BooleanConstructor; crossorigin: { readonly type: PropType "" | "anonymous" | "use-credentials") | (() => import("element-plus").ImageViewerCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import("element-plus").ImageViewerCrossorigin)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; }; export type ImageViewerProps = ExtractPropTypes; /** * 事件 */ export declare const imageViewerEmits: { /** 更新打开状态 */ 'update:modelValue': (_value?: boolean) => boolean; /** 关闭事件 */ close: () => boolean; /** 切换图像事件 */ switch: (_index: number) => boolean; /** 旋转图像事件 */ rotate: (_deg: number) => boolean; }; export type ImageViewerEmitsProps = EmitsToProps; export type ImageViewerPropsAndEmits = ImageViewerProps & ImageViewerEmitsProps;