declare function find(arr: T[], predicate: Function): T; declare function find(arr: T[], predicate: object): T; export default find;