//#region src/runtime-utils/path.d.ts /** * Returns the absolute file path of the calling file. * * @param {number} depth - 1 = immediate caller, 2 = caller's caller, etc. * @returns {string} Absolute file path of the caller. * @throws {CallerFileError} If the caller file cannot be determined. */ declare function getCallerFile(depth?: number): string; /** * Returns the absolute file path of the calling file. * * @param {number} depth - 1 = immediate caller, 2 = caller's caller, etc. * @returns {string} Absolute file path of the caller. * @throws {CallerFileError} If the caller file cannot be determined. */ declare function getCallerFilePath(depth?: number): string; /** * Returns the directory that contains the package.json * associated with the specified import.meta.url. * * If no package.json is found while walking up the directory tree, * an error will be thrown. */ declare function getPackageDir(callerFilePath?: string): Promise; //#endregion export { getCallerFile, getCallerFilePath, getPackageDir };