import { RouteRecord } from 'vue-router'; import { MenuDataItem } from '../typings'; import { getSlot, getSlotVNode } from './getSlot'; export { default as isUrl } from './isUrl'; export { default as isImg } from './isImg'; export { getSlot, getSlotVNode }; export declare function flatMap(menusData: RouteRecord[]): MenuDataItem[]; export declare function getMenuFirstChildren(menus: MenuDataItem[], key?: string): MenuDataItem[]; export declare const PropRenderType: { type: (BooleanConstructor | FunctionConstructor)[]; default: () => undefined; }; export interface Attrs { [key: string]: string; } export type StringKeyOf = Extract; export type Fn = () => void; export type EventHandlers = { [K in StringKeyOf]?: E[K] extends Fn ? E[K] : (payload: E[K]) => void; }; /** * Creates an object composed of the picked object properties. * @param obj The source object * @param paths The property paths to pick */ export declare function pick(obj: T, paths: K[]): Pick;