import { CalendarDay } from '@lspriv/wx-calendar/lib';
/**
 * Checks if the given type is of the number type and also NaN.
 */
export declare const isStrictlyNaN: (num: number) => boolean;
/**
 * Parses a string value that is expected to be an integer, when the valid is
 * not an integer throws a decoration error.
 *
 * @param {String} string     Raw string input
 * @return {Number}           Parsed integer
 */
export declare const strictParseInt: (str: string) => number;
/**
 * Truncates the given number, correctly handling negative numbers.
 */
export declare const trunc: (num: number) => number;
/**
 * Pads the given string or number with zeros so it will have at least two
 * characters.
 */
export declare const pad2: (data: string | number) => string;
/**
 * Clone the passed object or primitive. By default a shallow clone will be
 * executed.               The copy of the thing
 */
export declare const clone: <T>(source: T, deep?: boolean) => T;
/**
 * Identical to indexOf but will only match values when they are not preceded
 * by a backslash character.
 * @param buffer String to search
 * @param search Value to look for
 * @param pos Start position
 */
export declare const unescapedIndexOf: (buffer: string, search: string, pos: number) => number;
export declare const dateFmtStr: (str: string, date: CalendarDay) => string;
