import * as TE from 'fp-ts/lib/TaskEither'; import { TaskEitherError } from './types'; export declare const completeHandler: (success: (s: Right) => void, failure: (f: Left) => void) => (task: TE.TaskEither) => void; export declare const onComplete: (task: TE.TaskEither, success: (s: Right) => void, failure: (f: Left) => void) => void; export declare const finallyHandler: (fn: () => void) => (task: TE.TaskEither) => TE.TaskEither; export declare const toPromise: (task: TaskEitherError) => Promise; export declare const sequenceTasks: (t1: TaskEitherError, t2: TaskEitherError) => TaskEitherError; export declare const sequence3Tasks: (t1: TaskEitherError, t2: TaskEitherError, t3: TaskEitherError) => TaskEitherError; export declare const chainTasks: (t1: TaskEitherError, t2: (v: T1) => TaskEitherError) => TaskEitherError;