/** * Reads the package version from a `package.json` relative to a base directory. * * @param baseDir - The directory to resolve `package.json` from. * @returns The version string, or `'0.0.0'` if the file cannot be read. * * @example * ```ts * const version = getVersion('/path/to/project'); * // '0.1.0' * ``` */ export declare const getVersion: (baseDir: string) => string; //# sourceMappingURL=version.d.ts.map