import React from 'react'; /** * It's not possible to pass directly parameters to the Action components - * we are limted to Action interface. However we can pass the parameters indirectly: * 1. via clousure - works best for near constant props like "variant" * 2. via context - works better for frequently changing props i.e. "ignoreList" * @param variant drop down variant to be used - defaults to 'kebab' * @param ignoreList list of actions that should be ignored(filtered out). Main use case is to exlude primary actions. */ export declare const ActionContext: React.Context<{ variant: string; ignoreList: any[]; }>; export interface EhancedActionsComponentProps { entity: T; ignoreList?: string[]; namespace?: string; } export declare function withActionContext(variant: 'kebab' | 'dropdown', contextId: string): React.ComponentType>;