/** * Reads this package's version from package.json, resolving the path relative * to this module. Works under ESM (node >= 22 import.meta.dirname, older via * import.meta.url) and CommonJS (__dirname). Returns undefined if the file * cannot be read, so callers never fail on a missing version. * @return {string|undefined} the package version, or undefined */ export declare function getPackageVersion(): string | undefined;