import { AsyncComponentLoader } from 'vue'; import type { PropType } from "vue"; type Handle = 't' | 'r' | 'b' | 'l' | 'tr' | 'br' | 'bl' | 'tl'; type Handles = Array; export type ResizableConfig = { handles: Handles; minWidth: number; maxWidth: number; minHeight: number; maxHeight: number; handleWidth: number; handleZIndex: number; display: 'fixed' | 'absolute'; disable: boolean; }; export type BoardItem = { id: string | number; label: string; props?: { [key: string]: any; }; content: AsyncComponentLoader | Function; }; export type BoardState = { items: BoardItem[]; state: BoardStatus; index: number; value: string | number | null; }; export type BoardStatus = 'minify' | 'spread' | 'hidden'; export interface BoardCustomStyle { margin?: [string, string, string, string]; fixed?: [string, string, string, string]; color?: string; width?: string; } export declare enum BoardPositionEnum { EAST = "east", TOP = "top", WEST = "west", SOUTH = "south", FULL = "full" } export type BoardPosition = typeof BoardPositionEnum[keyof typeof BoardPositionEnum]; export declare const BoardProps: { position: any; display: any; resizable: { type: PropType; default: () => { minWidth: number; maxWidth: number; minHeight: number; maxHeight: number; handleWidth: number; handleZIndex: number; disable: boolean; }; }; slotVisible: { type: BooleanConstructor; default: boolean; }; board: { type: PropType; default: () => BoardState; }; customStyle: { type: PropType; default: () => BoardCustomStyle; }; customId: any; }; export {};