import { AttrsType } from '../types'; export declare const ATTR_LIST: string[]; export declare const SPLIT_SYMBOL: { class: string; style: string; }; export declare const enum LayoutMenuDirection { Left = -1, Right = 1 } /** * 阻止默认事件和冒泡 * @param { Event } e 事件参数 * @returns { void } */ export declare const preventDefault: (e: Event) => void; /** * 过滤合法的 dom 属性 * @param { object } opt 菜单的item * @returns { object } */ export declare const filterAttrs: (options: AttrsType, params: any) => AttrsType; export declare const handleCamelCase: (arg: string) => string; export declare const handleStyle: (params: string | { [key: string]: string; }) => string; export declare const layoutMenuPositionEffect: (base: HTMLElement | MouseEvent, menu: MenuElement, direction?: LayoutMenuDirection) => void; export declare const getValue: (val: string | number) => string;