import { Action } from '@state-adapt/core'; import { Observable } from 'rxjs'; export type ErrorAction = Action; export type ErrorActionWithReq = Action<[Err, Req], 'error$'>; /** * @deprecated Use {@link getAction} instead. */ export declare function getHttpError(type: Type): (err: string) => Observable; /** * @deprecated Use {@link getAction} instead. */ export declare function getHttpError(type: Type, req: Req): (err: string) => Observable>;