import { Moment } from 'moment'; export * from './shared'; import * as dom from './src/browser/dom'; export * from './src/browser/dom'; export { dom }; /********************************************* EXPORT *********************************************/ /** * Top-level mad-utils namespace, containing all child namespaces * Includes all contents of shared module plus browser-specific namespaces */ export declare const mUtils: { dom: typeof dom; array: typeof import("./src/array"); date: typeof import("./src/date"); commonDataTypes: typeof import("./src/types-data-generic"); dataTypes: typeof import("./src/types-data-generic"); enum: typeof import("./src/enum"); Enum: typeof import("./src/enum"); err: typeof import("./src/error"); error: typeof import("./src/error"); find: typeof import("./src/search"); func: typeof import("./src/function"); function: typeof import("./src/function"); functionUtils: typeof import("./src/function"); genericDataTypes: typeof import("./src/types-data-generic"); isNode: any; locale: typeof import("./src/locale"); math: typeof import("./src/number"); num: typeof import("./src/number"); number: typeof import("./src/number"); numeric: typeof import("./src/number"); stream: typeof import("./src/stream"); object: typeof import("./src/object"); url: typeof import("./src/url"); search: typeof import("./src/search"); srch: typeof import("./src/search"); stacktrace: typeof import("./src/error"); str: typeof import("./src/string"); string: typeof import("./src/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) => import("./shared").SingletonInterface & T; boolStringToBool: (val: string | boolean, strict?: boolean) => boolean; toBoolFromBoolString: (val: string | boolean, strict?: boolean) => boolean; getType: (val: any, extraArrayDetectCb?: (val: any) => boolean) => import("./shared").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) => import("./shared").SingletonInterface & T; boolStringToBool: (val: string | boolean, strict?: boolean) => boolean; toBoolFromBoolString: (val: string | boolean, strict?: boolean) => boolean; getType: (val: any, extraArrayDetectCb?: (val: any) => boolean) => import("./shared").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) => import("./shared").SingletonInterface & T; boolStringToBool: (val: string | boolean, strict?: boolean) => boolean; toBoolFromBoolString: (val: string | boolean, strict?: boolean) => boolean; getType: (val: any, extraArrayDetectCb?: (val: any) => boolean) => import("./shared").DataTypesExpanded; }; validation: typeof import("./src/validation"); }; export { mUtils as __ }; export { mUtils as m_ }; export { mUtils as madUtils };