import type { BasicType } from '../../_utils'; import type { PropType, ExtractPropTypes } from 'vue'; import type { DrawerDirection } from './interface'; import type { VmIcon } from '../../_interface'; import type { PopupCallback } from '../../popup'; export declare const Props: { /**绑定值,控制是否展示 */ readonly visible: BasicType; /** 是否追加到 body */ readonly appendToBody: BasicType; /** 弹出方向 */ readonly direction: BasicType, DrawerDirection | null>; /** 大小尺寸 */ readonly size: BasicType, string | number | null>; /** 标题文字内容 */ readonly title: BasicType, string | null>; /** 是否展示遮罩层 */ readonly showMask: BasicType; /** 点击遮罩层是否可关闭 */ readonly maskClose: BasicType; /** 是否模糊遮罩层 */ readonly maskBlur: BasicType; /**是否展示关闭按钮 */ readonly showCloseIcon: BasicType; /** 自定义关闭按钮 icon */ readonly closeIcon: BasicType, null>; /** * 层级 原生属性 * * @see z-index https://developer.mozilla.org/zh-CN/docs/Web/CSS/z-index */ readonly zIndex: BasicType; /** 打开动画开始的回调 */ readonly onOpen: BasicType, null>; /** 打开动画结束的回调 */ readonly onOpenEnd: BasicType, null>; /** 关闭动画开始的回调 */ readonly onClose: BasicType, null>; /** 关闭动画结束的回调 */ readonly onCloseEnd: BasicType, null>; }; /** drawer 组件 props 类型 */ export type DrawerProps = ExtractPropTypes;