craydent
Version:
node library based on craydent-1.9.3
599 lines • 38.7 kB
TypeScript
import { TreeParentFinder, TreeChildFinder, TreeOptions, GroupOptions, IndexedArray, ArrayIterator, MongoReducer, MongoMapReduceOptions, WhereCondition, DeleteOptions, Fields, Documents, MongoPipelines, MongoSet } from './models/Arrays';
import { ContainsObjectIterator, ContainsValue } from './models/Contains';
import { ComparisonOperator } from './models/ComparisonOperator';
import { AnyObject, AnyObjects } from './models/Generics';
import { Yieldables } from './models/Yieldables';
import { EachIterator } from './models/EachIterator';
import { ObjectIterator } from './models/ObjectIterator';
import { DateTimeOptions } from './models/DateTimeOptions';
import * as ICArray from 'craydent.carray';
import * as IMapReduce from 'craydent.mapreduce';
import * as ISortBy from 'craydent.sortby';
import * as IUpdate from 'craydent.update';
import * as IUpsert from 'craydent.upsert';
import * as IWhere from 'craydent.where';
import * as IBenchmarker from 'craydent.benchmarker';
import * as ICursor from 'craydent.cursor';
import * as IOrderedList from 'craydent.orderedlist';
import * as IQueue from 'craydent.queue';
import * as ISet from 'craydent.set';
import * as ICLI from './methods/cli';
import * as IAwaitable from 'craydent.awaitable';
import * as IYieldable from 'craydent.yieldable';
import * as ISyncroit from 'craydent.syncroit';
import * as ICDate from 'craydent.cdate';
import * as IFormat from 'craydent.format';
import * as INow from 'craydent.now';
import * as IOn from 'craydent.on';
import * as IOnce from 'craydent.once';
import * as IOff from 'craydent.off';
import * as IEmit from 'craydent.emit';
import * as IRemoveAllListeners from 'craydent.removealllisteners';
import * as IAccess from 'craydent.access';
import * as IAppendFile from 'craydent.appendfile';
import * as IChmod from 'craydent.chmod';
import * as IChown from 'craydent.chown';
import * as IClose from 'craydent.close';
import * as ICopyFile from 'craydent.copyfile';
import * as IFchmod from 'craydent.fchmod';
import * as IFchown from 'craydent.fchown';
import * as IFdatasync from 'craydent.fdatasync';
import * as IFstat from 'craydent.fstat';
import * as IFsync from 'craydent.fsync';
import * as IFtruncate from 'craydent.ftruncate';
import * as IFutimes from 'craydent.futimes';
import * as ILchmod from 'craydent.lchmod';
import * as ILchown from 'craydent.lchown';
import * as ILink from 'craydent.link';
import * as ILstat from 'craydent.lstat';
import * as IMkdir from 'craydent.mkdir';
import * as IMkdtemp from 'craydent.mkdtemp';
import * as IOpen from 'craydent.open';
import * as IRead from 'craydent.read';
import * as IReaddir from 'craydent.readdir';
import * as IReadFile from 'craydent.readfile';
import * as IReadlink from 'craydent.readlink';
import * as IRealpath from 'craydent.realpath';
import * as IRename from 'craydent.rename';
import * as IRmdir from 'craydent.rmdir';
import * as IStat from 'craydent.stat';
import * as ISymlink from 'craydent.symlink';
import * as ITruncate from 'craydent.truncate';
import * as IUnlink from 'craydent.unlink';
import * as IUtimes from 'craydent.utimes';
import * as IWrite from 'craydent.write';
import * as IWriteFile from 'craydent.writefile';
import * as ICFunction from 'craydent.cfunction';
import * as INamespace from 'craydent.namespace';
import * as IServerManager from 'craydent.servermanager';
import * as I$COOKIE from 'craydent.http.cookie';
import * as I$DELETE from 'craydent.http.delete';
import * as I$DEL from 'craydent.http.del';
import * as I$GET from 'craydent.http.get';
import * as I$HEADER from 'craydent.http.header';
import * as I$PAYLOAD from 'craydent.http.payload';
import * as I$POST from 'craydent.http.post';
import * as I$PUT from 'craydent.http.put';
import * as IChromeVersion from 'craydent.chromeversion';
import * as IFirefoxVersion from 'craydent.firefoxversion';
import * as IIEVersion from 'craydent.ieversion';
import * as IOperaVersion from 'craydent.operaversion';
import * as ISafariVersion from 'craydent.safariversion';
import * as IIsAmaya from 'craydent.isamaya';
import * as IIsAndroid from 'craydent.isandroid';
import * as IIsBlackBerry from 'craydent.isblackberry';
import * as IIsChrome from 'craydent.ischrome';
import * as IIsFirefox from 'craydent.isfirefox';
import * as IIsGecko from 'craydent.isgecko';
import * as IIsIE6 from 'craydent.isie6';
import * as IIsIE from 'craydent.isie';
import * as IIsIPad from 'craydent.isipad';
import * as IIsIPhone from 'craydent.isiphone';
import * as IIsIPod from 'craydent.isipod';
import * as IIsKHTML from 'craydent.iskhtml';
import * as IIsLinux from 'craydent.islinux';
import * as IIsMac from 'craydent.ismac';
import * as IIsMobile from 'craydent.ismobile';
import * as IIsOpera from 'craydent.isopera';
import * as IIsPalmOS from 'craydent.ispalmos';
import * as IIsPresto from 'craydent.ispresto';
import * as IIsPrince from 'craydent.isprince';
import * as IIsSafari from 'craydent.issafari';
import * as IIsSymbian from 'craydent.issymbian';
import * as IIsTrident from 'craydent.istrident';
import * as IIsWebkit from 'craydent.iswebkit';
import * as IIsWindows from 'craydent.iswindows';
import * as IIsWindowsMobile from 'craydent.iswindowsmobile';
import * as ICreateServer from 'craydent.createserver';
import * as IEcho from 'craydent.echo';
import * as IEnd from 'craydent.end';
import * as IGetSessionID from 'craydent.getsessionid';
import * as IGetSession from 'craydent.getsession';
import * as IGetSessionSync from 'craydent.getsessionsync';
import * as ISetHeader from 'craydent.set-header';
import * as ISend from 'craydent.send';
import * as IVarDump from 'craydent.vardump';
import * as IWriteSession from 'craydent.writesession';
import * as IIsArray from 'craydent.isarray';
import * as IIsAsync from 'craydent.isasync';
import * as IIsAsyncGenerator from 'craydent.isasyncgenerator';
import * as IIsBlank from 'craydent.isblank';
import * as IIsBetween from 'craydent.isbetween';
import * as IIsBoolean from 'craydent.isboolean';
import * as IIsCuid from 'craydent.iscuid';
import * as IIsDate from 'craydent.isdate';
import * as IIsDomElement from 'craydent.isdomelement';
import * as IIsEmpty from 'craydent.isempty';
import * as IIsError from 'craydent.iserror';
import * as IIsEven from 'craydent.iseven';
import * as IIsFloat from 'craydent.isfloat';
import * as IIsFunction from 'craydent.isfunction';
import * as IIsGenerator from 'craydent.isgenerator';
import * as IIsGeolocation from 'craydent.isgeolocation';
import * as IIsInt from 'craydent.isint';
import * as IIsInvokable from 'craydent.isinvokable';
import * as IIsJSON from 'craydent.isjson';
import * as IIsNull from 'craydent.isnull';
import * as IIsNullOrEmpty from 'craydent.isnullorempty';
import * as IIsNumber from 'craydent.isnumber';
import * as IIsObject from 'craydent.isobject';
import * as IIsOdd from 'craydent.isodd';
import * as IIsPromise from 'craydent.ispromise';
import * as IIsRegExp from 'craydent.isregexp';
import * as IIsString from 'craydent.isstring';
import * as IIsSubset from 'craydent.issubset';
import * as IIsValidDate from 'craydent.isvaliddate';
import * as IIsValidEmail from 'craydent.isvalidemail';
import * as IParseAdvanced from 'craydent.parseadvanced';
import * as IStringifyAdvanced from 'craydent.stringifyadvanced';
import * as ILogger from './methods/logger';
import * as ICNumber from 'craydent.cnumber';
import * as IRand from 'craydent.rand';
import * as IChanges from 'craydent.changes';
import * as ICObject from 'craydent.cobject';
import * as IGetProperty from 'craydent.getproperty';
import * as IMerge from 'craydent.merge';
import * as ICRegExp from 'craydent.cregexp';
import * as ICString from 'craydent.cstring';
import * as IFillTemplate from 'craydent.filltemplate';
import * as IAbsolutePath from 'craydent.absolutepath';
import * as IAjax from 'craydent.ajax';
import * as INoop from 'craydent.noop';
import * as ICatchAll from 'craydent.catchall';
import * as IClusterit from 'craydent.clusterit';
import * as ICuid from 'craydent.cuid';
import * as IExclude from 'craydent.exclude';
import * as IMd5 from 'craydent.md5';
import * as IWait from 'craydent.wait';
import * as IJSZip from 'craydent.jszip';
import * as IZipit from 'craydent.zipit';
import * as IClearCache from 'craydent.clearcache';
import * as ICout from 'craydent.cout';
import * as IFoo from 'craydent.foo';
import * as ILogit from 'craydent.logit';
import * as IInclude from 'craydent.include';
import * as IMkdirRecursive from 'craydent.mkdirrecursive';
import * as IParseBoolean from 'craydent.parseboolean';
import * as IParseRaw from 'craydent.parseraw';
import * as IRandomIndex from 'craydent.randomindex';
import * as IRequireDirectory from 'craydent.requiredirectory';
import * as IRunFuncArray from 'craydent.runfuncarray';
import * as ISuid from 'craydent.suid';
import * as ITryEval from 'craydent.tryeval';
declare const CArray: typeof ICArray.default;
declare const Benchmarker: typeof IBenchmarker.default;
declare const Cursor: typeof ICursor.default;
declare const OrderedList: typeof IOrderedList.default;
declare const Queue: typeof IQueue.default;
declare const Set: typeof ISet.default;
declare const CLI: typeof ICLI.default;
declare const awaitable: typeof IAwaitable.default;
declare const yieldable: typeof IYieldable.default;
declare const syncroit: typeof ISyncroit.default;
declare const now: typeof INow.default;
declare const CDate: typeof ICDate.default;
declare const on: typeof IOn.default;
declare const once: typeof IOnce.default;
declare const off: typeof IOff.default;
declare const emit: typeof IEmit.default;
declare const removeAllListeners: typeof IRemoveAllListeners.default;
declare const access: typeof IAccess.default;
declare const appendFile: typeof IAppendFile.default;
declare const chmod: typeof IChmod.default;
declare const chown: typeof IChown.default;
declare const close: typeof IClose.default;
declare const copyFile: typeof ICopyFile.default;
declare const fchmod: typeof IFchmod.default;
declare const fchown: typeof IFchown.default;
declare const fdatasync: typeof IFdatasync.default;
declare const fstat: typeof IFstat.default;
declare const fsync: typeof IFsync.default;
declare const ftruncate: typeof IFtruncate.default;
declare const futimes: typeof IFutimes.default;
declare const lchmod: typeof ILchmod.default;
declare const lchown: typeof ILchown.default;
declare const link: typeof ILink.default;
declare const lstat: typeof ILstat.default;
declare const mkdir: typeof IMkdir.default;
declare const mkdtemp: typeof IMkdtemp.default;
declare const open: typeof IOpen.default;
declare const read: typeof IRead.default;
declare const readdir: typeof IReaddir.default;
declare const readFile: typeof IReadFile.default;
declare const readlink: typeof IReadlink.default;
declare const realpath: typeof IRealpath.default;
declare const rename: typeof IRename.default;
declare const rmdir: typeof IRmdir.default;
declare const stat: typeof IStat.default;
declare const symlink: typeof ISymlink.default;
declare const truncate: typeof ITruncate.default;
declare const unlink: typeof IUnlink.default;
declare const utimes: typeof IUtimes.default;
declare const write: typeof IWrite.default;
declare const writeFile: typeof IWriteFile.default;
declare const namespace: typeof INamespace.default;
declare const CFunction: typeof ICFunction.default;
declare const ServerManager: typeof IServerManager.default;
declare const $COOKIE: typeof I$COOKIE.default;
declare const $DELETE: typeof I$DELETE.default;
declare const $DEL: typeof I$DEL.default;
declare const $GET: typeof I$GET.default;
declare const $HEADER: typeof I$HEADER.default;
declare const $PAYLOAD: typeof I$PAYLOAD.default;
declare const $POST: typeof I$POST.default;
declare const $PUT: typeof I$PUT.default;
declare const ChromeVersion: typeof IChromeVersion.default;
declare const FirefoxVersion: typeof IFirefoxVersion.default;
declare const IEVersion: typeof IIEVersion.default;
declare const OperaVersion: typeof IOperaVersion.default;
declare const SafariVersion: typeof ISafariVersion.default;
declare const isAmaya: typeof IIsAmaya.default;
declare const isAndroid: typeof IIsAndroid.default;
declare const isBlackBerry: typeof IIsBlackBerry.default;
declare const isChrome: typeof IIsChrome.default;
declare const isFirefox: typeof IIsFirefox.default;
declare const isGecko: typeof IIsGecko.default;
declare const isIE6: typeof IIsIE6.default;
declare const isIE: typeof IIsIE.default;
declare const isIPad: typeof IIsIPad.default;
declare const isIPhone: typeof IIsIPhone.default;
declare const isIPod: typeof IIsIPod.default;
declare const isKHTML: typeof IIsKHTML.default;
declare const isLinux: typeof IIsLinux.default;
declare const isMac: typeof IIsMac.default;
declare const isMobile: typeof IIsMobile.default;
declare const isOpera: typeof IIsOpera.default;
declare const isPalmOS: typeof IIsPalmOS.default;
declare const isPresto: typeof IIsPresto.default;
declare const isPrince: typeof IIsPrince.default;
declare const isSafari: typeof IIsSafari.default;
declare const isSymbian: typeof IIsSymbian.default;
declare const isTrident: typeof IIsTrident.default;
declare const isWebkit: typeof IIsWebkit.default;
declare const isWindows: typeof IIsWindows.default;
declare const isWindowsMobile: typeof IIsWindowsMobile.default;
declare const createServer: typeof ICreateServer.default;
declare const echo: typeof IEcho.default;
declare const end: typeof IEnd.default;
declare const getSessionID: typeof IGetSessionID.default;
declare const getSession: typeof IGetSession.default;
declare const getSessionSync: typeof IGetSessionSync.default;
declare const header: typeof ISetHeader.default;
declare const send: typeof ISend.default;
declare const varDump: typeof IVarDump.default;
declare const writeSession: typeof IWriteSession.default;
declare const isArray: typeof IIsArray.default;
declare const isAsync: typeof IIsAsync.default;
declare const isAsyncGenerator: typeof IIsAsyncGenerator.default;
declare const isBetween: typeof IIsBetween.default;
declare const isBlank: typeof IIsBlank.default;
declare const isBoolean: typeof IIsBoolean.default;
declare const isCuid: typeof IIsCuid.default;
declare const isDate: typeof IIsDate.default;
declare const isDomElement: typeof IIsDomElement.default;
declare const isEmpty: typeof IIsEmpty.default;
declare const isError: typeof IIsError.default;
declare const isEven: typeof IIsEven.default;
declare const isFloat: typeof IIsFloat.default;
declare const isFunction: typeof IIsFunction.default;
declare const isGenerator: typeof IIsGenerator.default;
declare const isGeolocation: typeof IIsGeolocation.default;
declare const isInt: typeof IIsInt.default;
declare const isInvokable: typeof IIsInvokable.default;
declare const isJSON: typeof IIsJSON.default;
declare const isNull: typeof IIsNull.default;
declare const isNullOrEmpty: typeof IIsNullOrEmpty.default;
declare const isNumber: typeof IIsNumber.default;
declare const isObject: typeof IIsObject.default;
declare const isOdd: typeof IIsOdd.default;
declare const isPromise: typeof IIsPromise.default;
declare const isRegExp: typeof IIsRegExp.default;
declare const isString: typeof IIsString.default;
declare const isSubset: typeof IIsSubset.default;
declare const isValidDate: typeof IIsValidDate.default;
declare const isValidEmail: typeof IIsValidEmail.default;
declare const parseAdvanced: typeof IParseAdvanced.default;
declare const stringifyAdvanced: typeof IStringifyAdvanced.default;
declare const logger: typeof ILogger.default;
declare const rand: typeof IRand.default;
declare const CNumber: typeof ICNumber.default;
declare const CObject: typeof ICObject.default;
declare const CRegExp: typeof ICRegExp.default;
declare const CString: typeof ICString.default;
declare const fillTemplate: typeof IFillTemplate.default;
declare const TEMPLATE_VARS: typeof IFillTemplate.TEMPLATE_VARS;
declare const TEMPLATE_TAG_CONFIG: typeof IFillTemplate.TEMPLATE_TAG_CONFIG;
declare const absolutePath: typeof IAbsolutePath.default;
declare const ajax: typeof IAjax.default;
declare const noop: typeof INoop.default;
declare const catchAll: typeof ICatchAll.default;
declare const clusterit: typeof IClusterit.default;
declare const cuid: typeof ICuid.default;
declare const exclude: typeof IExclude.default;
declare const md5: typeof IMd5.default;
declare const wait: typeof IWait.default;
declare const JSZip: typeof IJSZip.default;
declare const zipit: typeof IZipit.default;
declare const clearCache: typeof IClearCache.default;
declare const cout: typeof ICout.default;
declare const foo: typeof IFoo.default;
declare const logit: typeof ILogit.default;
declare const include: typeof IInclude.default;
declare const mkdirRecursive: typeof IMkdirRecursive.default;
declare const parseBoolean: typeof IParseBoolean.default;
declare const parseRaw: typeof IParseRaw.default;
declare const randomIndex: typeof IRandomIndex.default;
declare const requireDirectory: typeof IRequireDirectory.default;
declare const runFuncArray: typeof IRunFuncArray.default;
declare const suid: typeof ISuid.default;
declare const tryEval: typeof ITryEval.default;
export
export declare function _add<T>(this: T[], item: T): number;
export declare function _aggregate<TResult = any, T = any>(this: Documents<T>, pipelines: MongoPipelines[]): Documents<TResult>;
export declare function _average(this: number[]): number;
export declare function _buildTree<T, TResult>(this: T[], parentFinder: TreeParentFinder<T>, childFinder: string | TreeChildFinder<T>, options?: TreeOptions): TResult[];
export declare function _condense<T>(this: any[], check_values?: boolean): T[];
export declare function _contains<T, TValue>(this: T[], func: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains<T, TValue>(this: T[], val: ContainsValue, func?: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains<T, TValue>(this: T[], val: ContainsValue, operator?: ComparisonOperator): boolean;
export declare function _contains<T, TValue>(this: T, val: ContainsValue, func?: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains(this: string, val: ContainsValue): boolean;
export declare function _contains(this: number, val: ContainsValue): boolean;
export declare function _count(this: AnyObject): number;
export declare function _count(this: AnyObjects, option?: WhereCondition): number;
export declare function _count(this: string[], option?: string | RegExp): number;
export declare function _count(this: string, option?: string | RegExp): number;
export declare function _createIndex<T>(this: T[], indexes: string | string[]): IndexedArray<T> | boolean;
export declare function _delete<T>(this: T[], condition?: WhereCondition, justOne?: boolean): T[];
export declare function _delete<T>(this: T[], condition?: WhereCondition, options?: DeleteOptions): T[];
export declare function _distinct<T>(this: T[], fields: string | string[], condition?: WhereCondition | string): T[];
export declare function _equals(this: any[], compare: any, props?: string[]): boolean;
export declare function _equals(this: any[], compare: any): boolean;
export declare function _every<T>(this: T[], callback: ArrayIterator<T>, thisObject?: any): boolean;
export declare function _filter<T>(this: T[], callback: ArrayIterator<T>, context?: any): T[];
export declare function _find<T>(this: T[], condition: WhereCondition | string, projection?: string | Fields | boolean): T[];
export declare function _findOne<T>(this: T[], condition: WhereCondition | string, projection?: string | Fields | boolean): T | undefined;
export declare function _getValue<T>(this: T[], args?: any[], dflt?: any): T;
export declare function _group<T>(this: T[], params: GroupOptions<T>, removeProps?: boolean): T[];
export declare function _indexOfAlt<T>(this: T[], value: any, callback: ArrayIterator<T>): number;
export declare function _indexOfAlt<T>(this: T[], regex: RegExp, pos: number): number;
export declare function _innerJoin<T, R, TResult>(this: T[], arr: R[], on: string): TResult[];
export declare function _insert<T>(this: T[], value: any): boolean;
export declare function _insertAfter<T>(this: T[], index: number, value: any): boolean;
export declare function _insertAt<T>(this: T[], index: number, value: any): boolean;
export declare function _insertBefore<T>(this: T[], index: number, value: any): boolean;
export declare function _isEmpty(this: any[]): boolean;
export declare function _isSubset<T, R>(this: T[], compare: R[], sharesAny?: boolean): boolean;
export declare function _isSubset<T, R>(this: T, compare: R, sharesAny?: boolean): boolean;
export declare function _joinLeft<T, R, TResult>(this: T[], arr: R[], on: string): TResult[];
export declare function _joinRight<T, R, TResult>(this: T[], arr: R[], on: string): TResult[];
export declare function _last<T>(this: T[]): T | undefined;
export declare function _limit<T>(this: T[], max: number, skip?: number): T[];
export declare function _map<T, TResult>(this: T[], callback: ArrayIterator<T>, context: any): TResult[];
export declare function _mapReduce<T, TResult>(this: T[], map: (this: T, emit: IMapReduce.MapReduceEmitter) => void | TResult, reduce: MongoReducer<TResult>, options?: MongoMapReduceOptions<TResult>): TResult[];
export declare function _normalize<T, TResult>(this: T[]): TResult[];
export declare function _parallelEach<T>(this: any[], args: any[]): Promise<T[]>;
export declare function _parallelEach<T>(this: any[], gen: Yieldables, args?: any[]): Promise<T[]>;
export declare function _parallelEach<T>(this: Yieldables[]): Promise<T[]>;
export declare function _randomIndex(this: any[]): number;
export declare function _remove<T>(this: T[], value: any, indexOf?: ArrayIterator<T>): T | boolean;
export declare function _removeAll<T>(this: T[], value?: any, indexOf?: ArrayIterator<T>): T[] | boolean;
export declare function _removeAt<T>(this: T[], index: number): T | boolean;
export declare function _replaceAt<T>(this: T[], index: number, value: T): T;
export declare function _scramble<T>(this: T[]): T[];
export declare function _sortBy<T>(this: T[], props: string | string[], rev?: boolean, primer?: ISortBy.SortPrimer<T>, lookup?: any, options?: ISortBy.SortOptions): T[];
export declare function _stdev(this: number[]): number;
export declare function _sum(this: number[]): number;
export declare function _toMap<T>(this: T[], key: string): {
[key: string]: T;
};
export declare function _toSet<T>(this: T[]): Set<T>;
export declare function _trim(this: string[], chars?: string | string[], ref?: boolean): string[];
export declare function _update<T>(this: T[], condition: WhereCondition, setClause: MongoSet, options?: IUpdate.UpdateOptions): T[];
export declare function _upsert<T>(this: T[], records: T[] | T): IUpsert.UpsertResults<T>;
export declare function _upsert<T>(this: T[], records: T[] | T, callback: IUpsert.UpsertIterator<T>): IUpsert.UpsertResults<T>;
export declare function _upsert<T>(this: T[], records: T[] | T, prop: string, callback?: IUpsert.UpsertIterator<T>): IUpsert.UpsertResults<T>;
export declare function _where<T, TResult = T[]>(this: T[], condition?: IWhere.MongoQuery, limit?: number): TResult;
export declare function _where<T, TResult = T[]>(this: T[], condition?: IWhere.MongoQuery, useReference?: boolean, limit?: number): TResult;
export declare function _where<T, TResult = T[]>(this: T[], condition?: IWhere.MongoQuery, projection?: any, limit?: number): TResult;
export declare function _parallelEach<T>(this: any[], args: any[]): Promise<T[]>;
export declare function _parallelEach<T>(this: any[], gen: Yieldables, args?: any[]): Promise<T[]>;
export declare function _parallelEach<T>(this: Yieldables[]): Promise<T[]>;
export
export declare function _equals(this: Date, compare: any, props?: string[]): boolean;
export declare function _equals(this: Date, compare: any): boolean;
export declare function _format(this: Date, formatStr: string, options?: IFormat.DateOptions): string;
export declare function _getDayOfYear(this: Date): number;
export declare function _getGMTOffset(this: Date): number;
export declare function _getValue<T>(this: Date, args?: any[], dflt?: any): T;
export declare function _getWeek(this: Date): number;
export declare function _isValidDate(this: Date): boolean;
export
export declare function _equals(this: AnyObject, compare: AnyObject, props?: string[]): boolean;
export declare function _equals(this: any, compare: any): boolean;
export declare function _extend(this: Function, extendee: FunctionConstructor, inheritAsOwn?: boolean): Function;
export declare function _getParameters(this: Function): string[];
export declare function _getName(this: Function): string;
export declare function _getValue<T>(this: Function, args?: any[], dftl?: any): T;
export declare function _toPromise<T>(this: GeneratorFunction): Promise<T>;
declare const RESPONSES: {
[key: number]: {
status: number;
success: boolean;
message: string;
};
};
declare const HTTP_STATUS_TEMPLATE: {
[key: number]: string;
};
export
export declare function _contains<T, TValue>(this: T[], func: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains<T, TValue>(this: T[], val: ContainsValue, func: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains<T, TValue>(this: T[], val: ContainsValue, operator: ComparisonOperator): boolean;
export declare function _contains<T, TValue>(this: T, val: ContainsValue, func: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains(this: string, val: ContainsValue): boolean;
export declare function _contains(this: number, val: ContainsValue): boolean;
export declare function _equals(this: AnyObject, compare: AnyObject, props?: string[]): boolean;
export declare function _equals(this: any, compare: any): boolean;
export declare function _getValue(this: number, args?: any[], dflt?: any): any;
export declare function _aboutEqualTo(this: number, compare: number, giveOrTake: number): boolean;
export declare function _isBetween(this: number, lowerBound: number, upperBound: number, inclusive?: boolean): boolean;
export declare function _isEven(this: number): boolean;
export declare function _isOdd(this: number): boolean;
export declare function _toCurrencyNotation(this: number, separator?: string): string;
export
export declare function _changes(this: any, compare: AnyObject): IChanges.CompareResults;
export declare function _contains<T, TValue>(this: T[], func: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains<T, TValue>(this: T[], val: ContainsValue, func?: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains<T, TValue>(this: T[], val: ContainsValue, operator?: ComparisonOperator): boolean;
export declare function _contains<T, TValue>(this: T, val: ContainsValue, func?: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains(this: string, val: ContainsValue): boolean;
export declare function _contains(this: number, val: ContainsValue): boolean;
export declare function _copyObject(this: any): any;
export declare function _count(this: AnyObject): number;
export declare function _count(this: AnyObjects, option?: WhereCondition): number;
export declare function _count(this: string[], option?: string | RegExp): number;
export declare function _count(this: string, option?: string | RegExp): number;
export declare function _duplicate(this: any, recursive?: boolean): any;
export declare function _eachProperty<T>(this: any, callback: EachIterator<T>): void;
export declare function _equals(this: AnyObject, compare: AnyObject, props?: string[]): boolean;
export declare function _equals(this: any, compare: any): boolean;
export declare function _every(this: any, callback: ArrayIterator<any> | ObjectIterator<any>, thisObject?: any): boolean;
export declare function _get(this: any, path: string, delimiter?: string, options?: IGetProperty.GetPropertyOptions): any;
export declare function _get(this: any, path: RegExp): any;
export declare function _get(this: any, path: string, options?: IGetProperty.GetPropertyOptions): any;
export declare function _getClass(this: any): string;
export declare function _getProperty(this: any, path: string, delimiter?: string, options?: IGetProperty.GetPropertyOptions): any;
export declare function _getProperty(this: any, path: RegExp): any;
export declare function _getProperty(this: any, path: string, options?: IGetProperty.GetPropertyOptions): any;
export declare function _getValue(this: any, args?: any[], dflt?: any): any;
export declare function _has(this: any, property: string): boolean;
export declare function _isArray(this: any): boolean;
export declare function _isAsync(this: any): boolean;
export declare function _isBetween(this: any, lowerBound: any, upperBound: any, inclusive?: boolean): boolean;
export declare function _isBoolean(this: any): boolean;
export declare function _isDate(this: any): boolean;
export declare function _isDomElement(this: any): boolean;
export declare function _isEmpty(this: any): boolean;
export declare function _isError(this: any): boolean;
export declare function _isFloat(this: any): boolean;
export declare function _isFunction(this: any): boolean;
export declare function _isGenerator(this: any): boolean;
export declare function _isGeolocation(this: any): boolean;
export declare function _isInt(this: any): boolean;
export declare function _isNumber(this: any): boolean;
export declare function _isPromise(this: any): boolean;
export declare function _isObject(this: any, check_instance?: boolean): boolean;
export declare function _isRegExp(this: any): boolean;
export declare function _isString(this: any): boolean;
export declare function _isSubset<R>(this: any, compare: R, sharesAny?: boolean): boolean;
export declare function _itemCount(this: any): number | null;
export declare function _keyOf(this: any, value: any): string;
export declare function _getKeys(this: any): string[];
export declare function _map<T>(this: any, callback: ObjectIterator<T>, thisObject?: any): T;
export declare function _merge(this: any, secondary: any, condition: IMerge.MergeEnums | IMerge.MergeOptions | IMerge.MergeIterator): import("@craydent/craydent.merge/models/Generics").AnyObject;
export declare function _set(this: any, path: string, value: any, delimiter?: string): boolean;
export declare function _setProperty(this: any, path: string, value: any, delimiter?: string): boolean;
export declare function _toStringAlt(this: any, delimiter?: string, prefix?: string, urlEncode?: boolean): string;
export
export declare function _addFlags(this: RegExp, flags: string): RegExp;
export declare function _equals(this: AnyObject, compare: AnyObject, props?: string[]): boolean;
export declare function _equals(this: any, compare: any): boolean;
export declare function _getValue(this: RegExp, args?: any[], dflt?: any): any;
export
export declare function _acronymize(this: string, capsOnly?: boolean, delimiter?: string | RegExp): string;
export declare function _acronymize(this: string, match?: RegExp): string;
export declare function _acronymize(this: string, match?: RegExp, delimiter?: string | RegExp): string;
export declare function _capitalize(this: string, pos?: number | number[], everyWord?: boolean): string;
export declare function _contains<T, TValue>(this: T[], func: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains<T, TValue>(this: T[], val: ContainsValue, func?: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains<T, TValue>(this: T[], val: ContainsValue, operator?: ComparisonOperator): boolean;
export declare function _contains<T, TValue>(this: T, val: ContainsValue, func?: ContainsObjectIterator<T, TValue>): boolean;
export declare function _contains(this: string, val: ContainsValue): boolean;
export declare function _contains(this: number, val: ContainsValue): boolean;
export declare function _convertUTCDate(this: string, delimiter: string): string;
export declare function _count(this: string, option: WhereCondition | string | RegExp): number;
export declare function _cut(this: string, startIndex: number, endIndex: number, replacement?: string): string;
export declare function _ellipsis(this: string, before: number, after?: number): string;
export declare function _endItWith(this: string, ending: string): string;
export declare function _endsWith(this: string, searchString: string, length?: number): boolean;
export declare function _endsWithAny(this: string, endsWith: string[]): string | false;
export declare function _endsWithAny(this: string, ...args: string[]): string | false;
export declare function _equals(this: AnyObject, compare: AnyObject, props?: string[]): boolean;
export declare function _equals(this: any, compare: any): boolean;
export declare function _getValue(this: string, args?: any[], dflt?: any): any;
export declare function _highlight(this: string, search: string | RegExp, cssClass?: string, tag?: string): string;
export declare function _indexOfAlt<T>(this: string, value: any, callback: ArrayIterator<T>): number;
export declare function _indexOfAlt(this: string, regex: RegExp, pos?: number): number;
export declare function _indexOfAlt<T>(this: string, value: string, callback: ArrayIterator<T>): number;
export declare function _indexOfAlt(this: string, regex: RegExp, pos?: number): number;
export declare function _ireplaceAll(this: string, replace: string[], subject: string[]): string;
export declare function _ireplaceAll(this: string, replace: string, subject: string): string;
export declare function _isBlank(this: string): boolean;
export declare function _isCuid(this: string, msFormat?: boolean): boolean;
export declare function _isValidEmail(this: string): boolean;
export declare function _lastIndexOfAlt(this: string, regex: RegExp, pos?: number): number;
export declare function _ltrim(this: string, character?: string | string[]): string;
export declare function _pluralize(this: string): string;
export declare function _randomIndex(this: string): number;
export default function _replaceAll(this: string, replace: string, subject: string): string;
export default function _replaceAll(this: string, replace: string[], subject: string[]): string;
export declare function _replaceAll(this: string, replace: any, subject: any): string;
export declare function _reverse(this: string): string;
export declare function _rtrim(this: string, character?: string | string[]): string;
export declare function _sanitize(this: string): string;
export declare function _singularize(this: string): string;
export declare function _startItWith(this: string, starting: string): string;
export declare function _startsWith(this: string, searchString: string, start: number): boolean;
export declare function _startsWithAny(this: string, startsWith: string[]): string | false;
export declare function _startsWithAny(this: string, ...args: string[]): string | false;
export declare function _strip(this: string, character?: string | string[]): string;
export declare function _substringBetween(this: string, start?: string, end?: string): string;
export declare function _substringStartFrom(this: string, start: string): string;
export declare function _substringEndAt(this: string, end: string): string;
export declare function _toCurrencyNotation(this: string, sep?: string): string;
export declare function _toDateTime(this: string, options?: DateTimeOptions): Date | string;
export declare function _toObject(this: string, assignmentChar?: string, delimiter?: string): AnyObject;
export declare function _trim(this: string, chars: string[]): string;
import _isNull from 'craydent.isnull';
export declare function _isArray(this: any): boolean;
export declare function _isAsync(this: any): boolean;
export declare function _isBetween(this: any, lowerBound: any, upperBound: any, inclusive?: boolean): boolean;
export declare function _isBoolean(this: any): boolean;
export declare function _isDate(this: any): boolean;
export declare function _isDomElement(this: any): boolean;
export declare function _isEmpty(this: any): boolean;
export declare function _isError(this: any): boolean;
export declare function _isFloat(this: any): boolean;
export declare function _isFunction(this: any): boolean;
export declare function _isGenerator(this: any): boolean;
export declare function _isGeolocation(this: any): boolean;
export declare function _isInt(this: any): boolean;
export declare function _isNullOrEmpty(obj: any): boolean;
export declare function _isNumber(this: any): boolean;
export declare function _isObject(this: any, check_instance?: boolean): boolean;
export declare function _isPromise(this: any): boolean;
export declare function _isRegExp(this: any): boolean;
export declare function _isString(this: any): boolean;
export declare function _xmlToJson(this: string | XMLDocument, ignoreAttributes?: boolean): import("./models/Generics").AnyObject;
export { Benchmarker, Cursor, OrderedList, Queue, Set, CLI, awaitable, yieldable, syncroit, now, on, once, off, emit, removeAllListeners, access, appendFile, chmod, chown, close, copyFile, fchmod, fchown, fdatasync, fstat, fsync, ftruncate, futimes, lchmod, lchown, link, lstat, mkdir, mkdtemp, open, read, readdir, readFile, readlink, realpath, rename, rmdir, stat, symlink, truncate, unlink, utimes, write, writeFile, namespace, ServerManager, RESPONSES, HTTP_STATUS_TEMPLATE, $COOKIE, $DELETE, $DEL, $GET, $HEADER, $PAYLOAD, $POST, $PUT, ChromeVersion, FirefoxVersion, IEVersion, OperaVersion, SafariVersion, isAmaya, isAndroid, isBlackBerry, isChrome, isFirefox, isGecko, isIE6, isIE, isIPad, isIPhone, isIPod, isKHTML, isLinux, isMac, isMobile, isOpera, isPalmOS, isPresto, isPrince, isSafari, isSymbian, isTrident, isWebkit, isWindows, isWindowsMobile, createServer, echo, end, getSessionID, getSession, getSessionSync, header, send, varDump, writeSession, isArray, isAsync, isAsyncGenerator, isBetween, isBlank, isBoolean, isCuid, isDate, isDomElement, isEmpty, isError, isEven, isFloat, isFunction, isGenerator, isGeolocation, isInt, isInvokable, isJSON, isNull, isNullOrEmpty, isNumber, isObject, isOdd, isPromise, isRegExp, isString, isSubset, isValidDate, isValidEmail, parseAdvanced, stringifyAdvanced, logger, rand, fillTemplate, TEMPLATE_VARS, TEMPLATE_TAG_CONFIG, _isNull, absolutePath, ajax, noop, catchAll, clusterit, cuid, exclude, md5, wait, JSZip, zipit, clearCache, cout, foo, logit, include, mkdirRecursive, parseBoolean, parseRaw, randomIndex, requireDirectory, runFuncArray, suid, tryEval };