import { Methods, FlowErrorParams, ErrorFlow } from '../types/core';
export declare const errorFlow: <T, M extends Methods<T> = {}>(error: FlowErrorParams<T>) => ErrorFlow<T> & M;
export declare function isError<E>(flow: ErrorFlow<any> | E): flow is ErrorFlow<any>;
