import { Maybe } from "./types.js"; export declare const removeKeyFromObj: (obj: { [key: string]: T; }, key: string) => { [key: string]: T; }; export declare const updateOrRemoveKeyFromObj: (obj: { [key: string]: T; }, key: string, val: Maybe) => { [key: string]: T; }; export declare const mapObj: (obj: { [key: string]: T; }, fn: (val: T, key: string) => S) => { [key: string]: S; }; export declare const mapObjAsync: (obj: { [key: string]: T; }, fn: (val: T, key: string) => Promise) => Promise<{ [key: string]: S; }>; export declare const arrContains: (arr: T[], val: T) => boolean; export declare const asyncWaterfall: (val: T, operations: ((val: T) => Promise)[]) => Promise;