declare type EachArrayIterator = (currentValue: T, key: number) => void | boolean; declare type EachStringIterator = (currentValue: string, key: number) => void | boolean; declare type EachObjectIterator = (currentValue: T, key: string) => void | boolean; declare type MapArrayIterator = (currentValue: TItem, key: number) => TResult; declare type MapStringIterator = (currentValue: string, key: number) => TResult; declare type MapObjectIterator = (currentValue: TItem, key: string) => TResult; declare type MemoArrayIterator = (previousValue: U, currentValue: T, key: number) => U; declare type MemoStringIterator = (previousValue: T, currentValue: string, key: number) => T; declare type MemoObjectIterator = (previousValue: TResult, currentValue: TValue, key: string) => TResult; export declare const toArr: (val: any) => any[]; export declare function each(val: string, iterator: EachStringIterator, revert?: boolean): void; export declare function each(val: T[], iterator: EachArrayIterator, revert?: boolean): void; export declare function each(val: T, iterator: EachObjectIterator, revert?: boolean): void; export declare function map(val: string, iterator: MapStringIterator, revert?: boolean): T[]; export declare function map(val: TItem[], iterator: MapArrayIterator, revert?: boolean): TResult[]; export declare function map(val: T, iterator: MapObjectIterator, revert?: boolean): Record; export declare function reduce(val: T[], iterator: MemoArrayIterator, accumulator?: U, revert?: boolean): U; export declare function reduce(val: string, iterator: MemoStringIterator, accumulator?: T, revert?: boolean): T; export declare function reduce(val: T, iterator: MemoObjectIterator, accumulator?: TResult, revert?: boolean): TResult; export declare function every(val: T, iterator: EachStringIterator, revert?: boolean): boolean; export declare function every(val: T[], iterator: EachArrayIterator, revert?: boolean): boolean; export declare function every(val: T, iterator: EachObjectIterator, revert?: boolean): boolean; export declare function some(val: T, iterator: EachStringIterator, revert?: boolean): boolean; export declare function some(val: T[], iterator: EachArrayIterator, revert?: boolean): boolean; export declare function some(val: T, iterator: EachObjectIterator, revert?: boolean): boolean; export declare function findIndex(val: T, iterator: EachStringIterator, revert?: boolean): number; export declare function findIndex(val: T[], iterator: EachArrayIterator, revert?: boolean): number; export declare function findIndex(val: T, iterator: EachObjectIterator, revert?: boolean): keyof T; export declare function find(val: T, iterator: EachStringIterator, revert?: boolean): any; export declare function find(val: T[], iterator: EachArrayIterator, revert?: boolean): T; export declare function find(val: T, iterator: EachObjectIterator, revert?: boolean): T[keyof T]; export declare function includes(val: T, searchElement: string, revert?: boolean): boolean; export declare function includes(val: T[], searchElement: T, revert?: boolean): boolean; export declare function move(array: T[], fromIndex: number, toIndex: number): T[]; export {};