import { ForwardRefFn, Type } from '@angular/core'; import { AbstractEntity } from '../entities'; import { IEntityService } from '../../services/IEntity.service'; import { AbstractReducer } from "../../stores"; export declare abstract class EntityDescriptor { abstract readonly reducerType: Type> | ((forwardRefFn: ForwardRefFn) => Type>); abstract readonly serviceType: Type>; abstract readonly serviceDeps: any[]; class?: Type | any; name: string; canRead: boolean; canReadAll: boolean; canCreate: boolean; canUpdate: boolean; canDelete: boolean; expirationDetectionStrategy: (id?: any) => boolean; constructor(attributes: EntityDescriptorAttributes); } export interface EntityDescriptorAttributes { name: string; canRead?: boolean; canReadAll?: boolean; canCreate?: boolean; canUpdate?: boolean; canDelete?: boolean; expirationDetectionStrategy?: (id: any) => boolean; } export declare function StrategyNeverExpire(): boolean; export declare function StrategyAlwaysExpire(): boolean;