import { PropsWithChildren } from 'react'; import { DialogProps } from '@befe/brick-comp-dialog'; type PropsFromDialog = Pick; export declare const DRAWER_WIDTH_SIZES: readonly ["sm", "md", "lg"]; export declare const DRAWER_HEIGHT_SIZES: readonly ["sm", "md"]; export declare const DRAWER_PLACEMENTS: readonly ["top", "right", "bottom", "left"]; export interface DrawerProps extends PropsFromDialog { /** * 抽屉是否有遮罩 * 控制页面是否可以操作, 无遮罩时候才可以操作 */ mask?: boolean; /** * 抽屉有 mask 遮罩时候, 是否透明 */ maskTransparent?: boolean; /** * 抽屉的方向 */ placement?: (typeof DRAWER_PLACEMENTS)[number]; /** * 抽屉宽度 * `placement` 为 `left` 或 `right` 时有效 */ width?: (typeof DRAWER_WIDTH_SIZES)[number] | number; /** * 抽屉高度 * 在 `placement` 为 `top` 或 `bottom` 时有效 */ height?: (typeof DRAWER_HEIGHT_SIZES)[number] | number; } export declare function Drawer(props: PropsWithChildren): import("react/jsx-runtime").JSX.Element; export declare namespace Drawer { var displayName: string; } export {};