export declare function findIndex(array: T[], predicate: (item: T) => boolean): number;