import { AnyAction } from 'redux'; import { EntityName } from '../ValueObject/EntityName'; export interface EntityMetadata { entity: EntityName; [extraProps: string]: any; } export declare function hasEntityMetadata(action: any): action is AnyAction & { metadata: EntityMetadata; }; export declare function actionTypeWithEntity(type: string, entity: EntityName): string; export declare function actionTypeWithEntityFactory(type: string): (entity: string) => string; export declare function matchActionTypeEntity(action: any, type: string | ((entity: EntityName) => string)): boolean;