/** * There are fields on our documents that are numbers, but the actual value * has characters like dollar signs, commas and others. * This function will strip off the non-numeric characters to ensure it's a * valid number. * * @param value The string value to convert to a number * @throws [[DataTypeExtractionError]] when original value can't be properly extracted as a number. */ export declare function extractNumber(value: string | number, defaultValue?: number | null): number | null;