import { EntityState } from '../entity-state';
import { Type } from '@angular/core';
export interface EntitySetErrorAction {
    payload: Error;
}
export declare class SetError {
    /**
     * Generates an action that will set the error state for the given state.
     * Put undefined to clear the error state.
     * @param target The targeted state class
     * @param error The error that describes the error state
     */
    constructor(target: Type<EntityState<any>>, error: Error | undefined);
}
