import { Promisable } from "type-fest"; export declare function mapPromisableError(promise: Promisable, mapError?: (error: Error) => Error): Promise; export declare function mapAsyncIterableError(iterable: AsyncIterable, mapError?: (error: Error) => Error): AsyncIterable;