export declare function throwError(message: string): void; export declare function toArray(array: any): any[]; interface TypeCollections { isArray(obj: any): boolean; isNumber(obj: any): boolean; isArguments(obj: any): boolean; isFunction(obj: any): boolean; isString(obj: any): boolean; isDate(obj: any): boolean; isRegExp(obj: any): boolean; isError(obj: any): boolean; isObject(obj: any): boolean; isElem(obj: any): boolean; } export declare const typeCollection: TypeCollections;