import { EntityDict as BaseEntityDict } from 'oak-domain/lib/base-app-domain'; import { EntityDict } from 'oak-domain/lib/types'; import { Cache } from './cache'; import { Feature } from '../types/Feature'; interface IMenu { name: string; entity?: T; action?: ED[T]['Action'] | ED[T]['Action'][]; paths?: string[]; url?: string; } export declare class ContextMenuFactory extends Feature { cache: Cache; menus?: IMenu[]; constructor(cache: Cache); setMenus(menus: IMenu[]): void; makeMenuFilters(destEntity: keyof ED, paths: string[], entity: keyof ED, entityId: string): (true | ED[keyof ED]["Filter"])[]; getMenusByContext>(entity: keyof ED, entityId: string): OMenu[]; } export {};