import { Moment } from 'moment'; /******************************************** IMPORTS *********************************************/ import * as array from './src/array'; export * from './src/array'; export { array }; import * as date from './src/date'; export * from './src/date'; export { date }; import * as Enum from './src/enum'; export * from './src/enum'; export { Enum }; import * as error from './src/error'; export * from './src/error'; export { error }; import * as func from './src/function'; export * from './src/function'; export { func }; import * as locale from './src/locale'; export * from './src/locale'; export { locale }; import * as number from './src/number'; export * from './src/number'; export { number }; import * as object from './src/object'; export * from './src/object'; export { object }; import * as url from './src/url'; export * from './src/url'; export { url }; import * as search from './src/search'; export * from './src/search'; export { search }; import * as string from './src/string'; export * from './src/string'; export { string }; import * as typesIso from './src/types-iso'; export * from './src/types-iso'; export { typesIso }; import * as dataTypes from './src/types-data-generic'; export * from './src/types-data-generic'; export { dataTypes }; import * as validation from './src/validation'; export * from './src/validation'; export { validation }; import * as stream from './src/stream'; export * from './src/stream'; export { stream }; import * as isNode from 'detect-node'; export { isNode }; export declare const types: { biologicalSexes: Readonly<{ male: "male"; female: "female"; }>; commonBiologicalSexes: Readonly<{ male: "male"; female: "female"; }>; sexes: Readonly<{ male: "male"; female: "female"; }>; commonSexes: Readonly<{ male: "male"; female: "female"; }>; biologicalSexesWithBoth: Readonly & { both: "both"; }>; commonBiologicalSexesWithBoth: Readonly & { both: "both"; }>; sexesWithBoth: Readonly & { both: "both"; }>; commonSexesWithBoth: Readonly & { both: "both"; }>; sexWithBoth: Readonly & { both: "both"; }>; biologicalSexesWithOther: Readonly & { other: "other"; }>; sexesWithOther: Readonly & { other: "other"; }>; commonSexesWithOther: Readonly & { other: "other"; }>; commonBiologicalSexesWithOther: Readonly & { other: "other"; }>; gender: Readonly & { other: "other"; }>; genderCommon: Readonly & { other: "other"; }>; genderWithBoth: Readonly & { both: "both"; }>; genderCommonWithBoth: Readonly & { both: "both"; }>; genderFull: Readonly & { other: "other"; }> & { transMale: "trans male"; transFemale: "trans female"; genderqueer: "genderqueer"; genderfluid: "genderfluid"; intersex: "intersex"; agender: "agender"; bigender: "bigender"; nonBinary: "nonBinary"; none: "none"; }>; CANProvinces: Readonly<{ on: "Ontario"; qc: "Quebec"; nb: "New Brunswick"; ns: "Nova Scotia"; pe: "Prince Edward Island"; mb: "Manitoba"; sk: "Saskatchewan"; bc: "British Columbia"; nt: "Northwest Territories"; nu: "Nunavut"; yt: "Yukon Territory"; ab: "Alberta"; nl: "Newfoundland and Labrador"; }>; CANProvincesOrNone: Readonly & { none: "none"; }>; canadianProvinces: Readonly<{ on: "Ontario"; qc: "Quebec"; nb: "New Brunswick"; ns: "Nova Scotia"; pe: "Prince Edward Island"; mb: "Manitoba"; sk: "Saskatchewan"; bc: "British Columbia"; nt: "Northwest Territories"; nu: "Nunavut"; yt: "Yukon Territory"; ab: "Alberta"; nl: "Newfoundland and Labrador"; }>; canadianProvincesOrNone: Readonly & { none: "none"; }>; isUndefined: (value: any) => value is undefined; isNullOrUndefined: (val: any) => val is null; isVoidOrString: (val: any) => val is string; isAlphabeticChar: (val: any, handleAccents?: boolean) => val is T; isAlphaChar: (val: any, handleAccents?: boolean) => val is T; isNumber: (val: any) => val is T; isNum: (val: any) => val is T; isNumberLike: (val: any) => val is T; isNumLike: (val: any) => val is T; isInteger: (val: any) => val is T; isInt: (val: any) => val is T; isIntegerLike: (val: any) => val is T; isIntLike: (val: any) => val is T; isString: (val: any) => val is T; isStringOrNumber: (val: any) => val is string | number | String | Number; isStringOrNum: (val: any) => val is string | number | String | Number; isStrOrNum: (val: any) => val is string | number | String | Number; isBoolean: (val: any) => val is T; isBool: (val: any) => val is T; isDateLike: (val: any) => val is T; isArray: (val: any) => val is T[]; isObject: (val: any, trueForArrays?: boolean) => val is T; isTrue: (val: any, include1CharVal?: boolean) => val is T; isFalse: (val: any, include1CharVal?: boolean) => val is T; isFunction: any>(val: any) => val is T; singleton: (constructor: T) => typesIso.SingletonInterface & T; boolStringToBool: (val: string | boolean, strict?: boolean) => boolean; toBoolFromBoolString: (val: string | boolean, strict?: boolean) => boolean; getType: (val: any, extraArrayDetectCb?: (val: any) => boolean) => typesIso.DataTypesExpanded; }; /********************************************* EXPORT *********************************************/ /** * Top-level mad-utils namespace, containing all child namespaces * Includes all contents of shared module plus browser-specific namespaces */ export declare const mUtils: { array: typeof array; date: typeof date; commonDataTypes: typeof dataTypes; dataTypes: typeof dataTypes; enum: typeof Enum; Enum: typeof Enum; err: typeof error; error: typeof error; find: typeof search; func: typeof func; function: typeof func; functionUtils: typeof func; genericDataTypes: typeof dataTypes; isNode: any; locale: typeof locale; math: typeof number; num: typeof number; number: typeof number; numeric: typeof number; stream: typeof stream; object: typeof object; url: typeof url; search: typeof search; srch: typeof search; stacktrace: typeof error; str: typeof string; string: typeof string; type: { biologicalSexes: Readonly<{ male: "male"; female: "female"; }>; commonBiologicalSexes: Readonly<{ male: "male"; female: "female"; }>; sexes: Readonly<{ male: "male"; female: "female"; }>; commonSexes: Readonly<{ male: "male"; female: "female"; }>; biologicalSexesWithBoth: Readonly & { both: "both"; }>; commonBiologicalSexesWithBoth: Readonly & { both: "both"; }>; sexesWithBoth: Readonly & { both: "both"; }>; commonSexesWithBoth: Readonly & { both: "both"; }>; sexWithBoth: Readonly & { both: "both"; }>; biologicalSexesWithOther: Readonly & { other: "other"; }>; sexesWithOther: Readonly & { other: "other"; }>; commonSexesWithOther: Readonly & { other: "other"; }>; commonBiologicalSexesWithOther: Readonly & { other: "other"; }>; gender: Readonly & { other: "other"; }>; genderCommon: Readonly & { other: "other"; }>; genderWithBoth: Readonly & { both: "both"; }>; genderCommonWithBoth: Readonly & { both: "both"; }>; genderFull: Readonly & { other: "other"; }> & { transMale: "trans male"; transFemale: "trans female"; genderqueer: "genderqueer"; genderfluid: "genderfluid"; intersex: "intersex"; agender: "agender"; bigender: "bigender"; nonBinary: "nonBinary"; none: "none"; }>; CANProvinces: Readonly<{ on: "Ontario"; qc: "Quebec"; nb: "New Brunswick"; ns: "Nova Scotia"; pe: "Prince Edward Island"; mb: "Manitoba"; sk: "Saskatchewan"; bc: "British Columbia"; nt: "Northwest Territories"; nu: "Nunavut"; yt: "Yukon Territory"; ab: "Alberta"; nl: "Newfoundland and Labrador"; }>; CANProvincesOrNone: Readonly & { none: "none"; }>; canadianProvinces: Readonly<{ on: "Ontario"; qc: "Quebec"; nb: "New Brunswick"; ns: "Nova Scotia"; pe: "Prince Edward Island"; mb: "Manitoba"; sk: "Saskatchewan"; bc: "British Columbia"; nt: "Northwest Territories"; nu: "Nunavut"; yt: "Yukon Territory"; ab: "Alberta"; nl: "Newfoundland and Labrador"; }>; canadianProvincesOrNone: Readonly & { none: "none"; }>; isUndefined: (value: any) => value is undefined; isNullOrUndefined: (val: any) => val is null; isVoidOrString: (val: any) => val is string; isAlphabeticChar: (val: any, handleAccents?: boolean) => val is T; isAlphaChar: (val: any, handleAccents?: boolean) => val is T; isNumber: (val: any) => val is T; isNum: (val: any) => val is T; isNumberLike: (val: any) => val is T; isNumLike: (val: any) => val is T; isInteger: (val: any) => val is T; isInt: (val: any) => val is T; isIntegerLike: (val: any) => val is T; isIntLike: (val: any) => val is T; isString: (val: any) => val is T; isStringOrNumber: (val: any) => val is string | number | String | Number; isStringOrNum: (val: any) => val is string | number | String | Number; isStrOrNum: (val: any) => val is string | number | String | Number; isBoolean: (val: any) => val is T; isBool: (val: any) => val is T; isDateLike: (val: any) => val is T; isArray: (val: any) => val is T[]; isObject: (val: any, trueForArrays?: boolean) => val is T; isTrue: (val: any, include1CharVal?: boolean) => val is T; isFalse: (val: any, include1CharVal?: boolean) => val is T; isFunction: any>(val: any) => val is T; singleton: (constructor: T) => typesIso.SingletonInterface & T; boolStringToBool: (val: string | boolean, strict?: boolean) => boolean; toBoolFromBoolString: (val: string | boolean, strict?: boolean) => boolean; getType: (val: any, extraArrayDetectCb?: (val: any) => boolean) => typesIso.DataTypesExpanded; }; types: { biologicalSexes: Readonly<{ male: "male"; female: "female"; }>; commonBiologicalSexes: Readonly<{ male: "male"; female: "female"; }>; sexes: Readonly<{ male: "male"; female: "female"; }>; commonSexes: Readonly<{ male: "male"; female: "female"; }>; biologicalSexesWithBoth: Readonly & { both: "both"; }>; commonBiologicalSexesWithBoth: Readonly & { both: "both"; }>; sexesWithBoth: Readonly & { both: "both"; }>; commonSexesWithBoth: Readonly & { both: "both"; }>; sexWithBoth: Readonly & { both: "both"; }>; biologicalSexesWithOther: Readonly & { other: "other"; }>; sexesWithOther: Readonly & { other: "other"; }>; commonSexesWithOther: Readonly & { other: "other"; }>; commonBiologicalSexesWithOther: Readonly & { other: "other"; }>; gender: Readonly & { other: "other"; }>; genderCommon: Readonly & { other: "other"; }>; genderWithBoth: Readonly & { both: "both"; }>; genderCommonWithBoth: Readonly & { both: "both"; }>; genderFull: Readonly & { other: "other"; }> & { transMale: "trans male"; transFemale: "trans female"; genderqueer: "genderqueer"; genderfluid: "genderfluid"; intersex: "intersex"; agender: "agender"; bigender: "bigender"; nonBinary: "nonBinary"; none: "none"; }>; CANProvinces: Readonly<{ on: "Ontario"; qc: "Quebec"; nb: "New Brunswick"; ns: "Nova Scotia"; pe: "Prince Edward Island"; mb: "Manitoba"; sk: "Saskatchewan"; bc: "British Columbia"; nt: "Northwest Territories"; nu: "Nunavut"; yt: "Yukon Territory"; ab: "Alberta"; nl: "Newfoundland and Labrador"; }>; CANProvincesOrNone: Readonly & { none: "none"; }>; canadianProvinces: Readonly<{ on: "Ontario"; qc: "Quebec"; nb: "New Brunswick"; ns: "Nova Scotia"; pe: "Prince Edward Island"; mb: "Manitoba"; sk: "Saskatchewan"; bc: "British Columbia"; nt: "Northwest Territories"; nu: "Nunavut"; yt: "Yukon Territory"; ab: "Alberta"; nl: "Newfoundland and Labrador"; }>; canadianProvincesOrNone: Readonly & { none: "none"; }>; isUndefined: (value: any) => value is undefined; isNullOrUndefined: (val: any) => val is null; isVoidOrString: (val: any) => val is string; isAlphabeticChar: (val: any, handleAccents?: boolean) => val is T; isAlphaChar: (val: any, handleAccents?: boolean) => val is T; isNumber: (val: any) => val is T; isNum: (val: any) => val is T; isNumberLike: (val: any) => val is T; isNumLike: (val: any) => val is T; isInteger: (val: any) => val is T; isInt: (val: any) => val is T; isIntegerLike: (val: any) => val is T; isIntLike: (val: any) => val is T; isString: (val: any) => val is T; isStringOrNumber: (val: any) => val is string | number | String | Number; isStringOrNum: (val: any) => val is string | number | String | Number; isStrOrNum: (val: any) => val is string | number | String | Number; isBoolean: (val: any) => val is T; isBool: (val: any) => val is T; isDateLike: (val: any) => val is T; isArray: (val: any) => val is T[]; isObject: (val: any, trueForArrays?: boolean) => val is T; isTrue: (val: any, include1CharVal?: boolean) => val is T; isFalse: (val: any, include1CharVal?: boolean) => val is T; isFunction: any>(val: any) => val is T; singleton: (constructor: T) => typesIso.SingletonInterface & T; boolStringToBool: (val: string | boolean, strict?: boolean) => boolean; toBoolFromBoolString: (val: string | boolean, strict?: boolean) => boolean; getType: (val: any, extraArrayDetectCb?: (val: any) => boolean) => typesIso.DataTypesExpanded; }; typing: { biologicalSexes: Readonly<{ male: "male"; female: "female"; }>; commonBiologicalSexes: Readonly<{ male: "male"; female: "female"; }>; sexes: Readonly<{ male: "male"; female: "female"; }>; commonSexes: Readonly<{ male: "male"; female: "female"; }>; biologicalSexesWithBoth: Readonly & { both: "both"; }>; commonBiologicalSexesWithBoth: Readonly & { both: "both"; }>; sexesWithBoth: Readonly & { both: "both"; }>; commonSexesWithBoth: Readonly & { both: "both"; }>; sexWithBoth: Readonly & { both: "both"; }>; biologicalSexesWithOther: Readonly & { other: "other"; }>; sexesWithOther: Readonly & { other: "other"; }>; commonSexesWithOther: Readonly & { other: "other"; }>; commonBiologicalSexesWithOther: Readonly & { other: "other"; }>; gender: Readonly & { other: "other"; }>; genderCommon: Readonly & { other: "other"; }>; genderWithBoth: Readonly & { both: "both"; }>; genderCommonWithBoth: Readonly & { both: "both"; }>; genderFull: Readonly & { other: "other"; }> & { transMale: "trans male"; transFemale: "trans female"; genderqueer: "genderqueer"; genderfluid: "genderfluid"; intersex: "intersex"; agender: "agender"; bigender: "bigender"; nonBinary: "nonBinary"; none: "none"; }>; CANProvinces: Readonly<{ on: "Ontario"; qc: "Quebec"; nb: "New Brunswick"; ns: "Nova Scotia"; pe: "Prince Edward Island"; mb: "Manitoba"; sk: "Saskatchewan"; bc: "British Columbia"; nt: "Northwest Territories"; nu: "Nunavut"; yt: "Yukon Territory"; ab: "Alberta"; nl: "Newfoundland and Labrador"; }>; CANProvincesOrNone: Readonly & { none: "none"; }>; canadianProvinces: Readonly<{ on: "Ontario"; qc: "Quebec"; nb: "New Brunswick"; ns: "Nova Scotia"; pe: "Prince Edward Island"; mb: "Manitoba"; sk: "Saskatchewan"; bc: "British Columbia"; nt: "Northwest Territories"; nu: "Nunavut"; yt: "Yukon Territory"; ab: "Alberta"; nl: "Newfoundland and Labrador"; }>; canadianProvincesOrNone: Readonly & { none: "none"; }>; isUndefined: (value: any) => value is undefined; isNullOrUndefined: (val: any) => val is null; isVoidOrString: (val: any) => val is string; isAlphabeticChar: (val: any, handleAccents?: boolean) => val is T; isAlphaChar: (val: any, handleAccents?: boolean) => val is T; isNumber: (val: any) => val is T; isNum: (val: any) => val is T; isNumberLike: (val: any) => val is T; isNumLike: (val: any) => val is T; isInteger: (val: any) => val is T; isInt: (val: any) => val is T; isIntegerLike: (val: any) => val is T; isIntLike: (val: any) => val is T; isString: (val: any) => val is T; isStringOrNumber: (val: any) => val is string | number | String | Number; isStringOrNum: (val: any) => val is string | number | String | Number; isStrOrNum: (val: any) => val is string | number | String | Number; isBoolean: (val: any) => val is T; isBool: (val: any) => val is T; isDateLike: (val: any) => val is T; isArray: (val: any) => val is T[]; isObject: (val: any, trueForArrays?: boolean) => val is T; isTrue: (val: any, include1CharVal?: boolean) => val is T; isFalse: (val: any, include1CharVal?: boolean) => val is T; isFunction: any>(val: any) => val is T; singleton: (constructor: T) => typesIso.SingletonInterface & T; boolStringToBool: (val: string | boolean, strict?: boolean) => boolean; toBoolFromBoolString: (val: string | boolean, strict?: boolean) => boolean; getType: (val: any, extraArrayDetectCb?: (val: any) => boolean) => typesIso.DataTypesExpanded; }; validation: typeof validation; }; export { mUtils as __ }; export { mUtils as m_ }; export { mUtils as madUtils };