import { DoneError, DoneErrorResult } from '@f2/defer';
export type DoneErrorEvent<TEvent = {}, TResult = any> = DoneError<TResult> & TEvent;
export interface DoneErrorEventResult<TEvent = {}, TResult = any> extends DoneErrorResult<TResult> {
    doneError: DoneErrorEvent<TEvent, TResult>;
}
export declare function getDoneErrorEvent<TEvent = {}, TResult = any>(event: TEvent): DoneErrorEventResult<TEvent, TResult>;
