export declare function tap<T, R>(v: T, cb: (v: T) => R): R;
export declare function tapIf<T, R>(v: T | null | undefined, cb: (v: T) => R): R | undefined;
export declare function flatValue<T>(v: T | T[]): T[];
export declare function generate<R>(count: number, cb: (i: number) => R): R[];
export declare function copyProps<T extends Record<string, unknown>>(target: T, source: T, ...keys: (keyof T)[]): void;
