import * as TE from "fp-ts/lib/TaskEither"; export declare function promiseWithTimeout(timeoutMs: number, promise: () => Promise): Promise; export declare function taskEitherWithTimeout(timeoutMs: number): (callback: TE.TaskEither) => TE.TaskEither;