/**
 * Only call and return the result of `f` if `obj` is defined (not null nor
 * undefined)
 */
export declare function map<T, R>(obj: T | undefined | null, f: (t: T) => R): R | undefined;
export declare function isFunction(obj: any): obj is () => any;
export declare function orElse<T>(obj: T | undefined, defaultValue: T | (() => T)): T;
export declare function fromEntries(arr: [string | undefined, any][]): any;
export declare function omit<T extends Record<string, any>, S extends keyof T>(t: T, ...keysToOmit: S[]): Omit<T, S>;
