declare function idxOf(arr: any[], val: any, fromIdx?: number): number;

export = idxOf;
