export function capitalize(str: string): string; export function contains(obj: O1, pred: O2): boolean; export function findIndex(arr: any[], pred: any): number; export function find(arr: T[], pred: any): T; export function createChainedFunction(...funcs: ChainedFunction[]): (...args: any[]) => never; type ChainedFunction = ((...args: any[]) => void) | undefined | null;