/** * Return error type based on provided error id. * * @param {String} type Error type. * @returns {String|null} Returns error id. */ export default function error(type: string): string | null; /** * Check if error type is strict valid with knows errors. * * @param {String} Error type. * @return {Boolean} */ export function isValidStrict(type: any): boolean; export const ERROR: "ERROR"; export const ERROR_DIV_ZERO: "DIV/0"; export const ERROR_NAME: "NAME"; export const ERROR_NOT_AVAILABLE: "N/A"; export const ERROR_NULL: "NULL"; export const ERROR_NUM: "NUM"; export const ERROR_REF: "REF"; export const ERROR_VALUE: "VALUE"; export const CIRCULAR_REF_ERROR: "CIRC";