import getDirSize from './promises/index';
/**
   * Calculates the total size of a folder and its subfolders.
   * @param {string} dirPath - The path to the folder.
   * @param {function} callback - A callback function that handles potential errors during the folder size calculation.
   * @returns {number} - The total size in bytes.
   * @throws {TypeError} - Throws an error if the provided path is not a string.
   * @since v1.2.0
   */
declare const getDirSizeSync: (dirPath: string, callback?: ((err: Error) => void) | undefined) => number;
export { getDirSize, getDirSizeSync };
