import { Merger, Predicate, Reducer, Option, Transform, Dict } from './constants'; declare abstract class Iterable { abstract size: number; abstract owner?: Object; private _hashCode?; static isIterable(object: any): boolean; abstract __iterate(step: Predicate, reverse?: boolean): boolean; abstract asMutable(): Iterable; abstract asImmutable(): Iterable; abstract get(key: K, notSetVal?: T): Option; abstract set(key: K, value: T): Iterable; abstract delete(key: K): Iterable; hashCode(): number; isEmpty(): boolean; forEach(sideEffect: (value: T, key: K) => void): void; merge(...iterables: (Dict | Iterable)[]): Iterable; mergeWith(merger: Merger, ...iterables: (Dict | Iterable)[]): Iterable; mapKeys(transform: (key: K) => G): Iterable; mapEntries(transform: Transform): Iterable; filter(predicate: Predicate): Iterable; filterNot(predicate: Predicate): Iterable; find(predicate: Predicate, notSetValue?: T): Option; findLast(predicate: Predicate, notSetValue?: T): Option; findEntry(predicate: Predicate, notSetValue?: T): Option<[K, T] | T>; findLastEntry(predicate: Predicate, notSetValue?: T): Option<[K, T] | T>; findKey(predicate: Predicate, notSetValue?: K): Option; findLastKey(predicate: Predicate, notSetValue?: K): Option; reduce(reducer: Reducer, initialValue?: any): G; reduceRight(reducer: Reducer, initialValue?: any): G; join(separator?: string): string; count(predicate: Predicate): number; has(key: K): boolean; includes(value: T): boolean; every(predicate: Predicate): boolean; some(predicate: Predicate): boolean; first(): Option; last(): Option; } export default Iterable;