import { Logger } from "../logger.js"; //#region src/utils/fileNameUtils.d.ts /** * Extracts the file extension from a file name. * * @param fileName file name to extract the extension from * @returns the file extension */ declare function getSuffixFromFileName(fileName: string): string; /** * Extracts contiguous numeric value from the start of `filename` up to the * first non-numeric character. * 17 digit numbers are interpreted as UTC date and converted to the number * representation of that date. 1...4 digit numbers are interpreted as index * based naming scheme. * * @param filename filename to extract the prefix from * @param logger Redirect messages to this logger object, rather than `console`. * @returns numeric value of the filename prefix (everything before the first * non-numeric character). */ declare function getNumericPrefix(filename: string, logger?: Logger): number; //#endregion export { getNumericPrefix, getSuffixFromFileName };