export declare function findIndex(array: TItem[], comparator: (value: TItem) => boolean): number;