import type { Numeral, NumeralJSFormat, NumeralJSLocale, RegisterType, default as NumeralJS } from 'numeral'; declare global { interface JQueryStatic { /** * Initiates an instance of numeral * * @param input */ numeral(input?: any): Numeral; /** * This function sets the current locale. If no arguments are passed in, * it will simply return the current global locale key. * * @param locale if set to 'auto' will use the browser's locale setting */ numeralLocale(locale?: string | 'auto'): string; /** * Registers a language definition or a custom format definition. * * @param what * @param key * @param value */ numeralRegister(what: RegisterType, key: string, value: NumeralJSFormat | NumeralJSLocale): void; /** * Sets the numeral null format * * @param format */ numeralNullFormat(format: string): void; /** * Sets the numeral zero format * * @param format */ numeralZeroFormat(format: string): void; } interface Window { numeral: typeof NumeralJS; } } export {};