import { Navbar } from "./Navbar"; import { IItem, ItemType } from "./types"; interface IFactoryConfig { defaultType: ItemType; allowedTypes: ItemType[]; widgetName: string; widget: T; } export declare function createFactory({ defaultType, allowedTypes, widgetName, widget, }: IFactoryConfig): (item: IItem, asMenuItem?: boolean) => any; export {};