export declare const TS_CONFIG = "tsconfig.json"; /** * Data structure to wrap json data */ export declare class HashMap implements IterableIterator { private myCollection; /** * current item index when hashmap is iterated */ private pointer; /** * key set of hashmap */ private keys; /** * json data to be traversed * @param myCollection if not passed any param then an empty json is set. */ constructor(myCollection?: any); /** * @param key identifier of value * @param value */ add(key: K | string, value: V): HashMap; /** * @param key identifier of value */ has(key: K): boolean; /** * @param key identifier of value */ remove(key: K): void; /** * */ isEmpty(): boolean; /** * */ size(): number; /** * * @param json collection of key:value to be merged */ addAll(json: any): HashMap; /** * @param key */ get(key: K): V; /** * initialize current map */ removeAll(): void; /** * foreach helper * @param callback (value, key, array ) => {} */ each(callback: (value: V, key: K | string, array: V[]) => any, thisArg?: any): void; /** * @returns key collection inside json object */ keyset(): string[]; /** * @param map */ merge(map: HashMap): HashMap; /** * @returns json raw object */ getAll(): any; [Symbol.iterator](): IterableIterator; next(): IteratorResult; } /** * provides operatons to find any file in a given root */ export interface IFileFinder { find(file: string, startPath: string): string; }