import type { NullishString } from '@flex-development/tutils'; import type { IGreaseOptions } from "../interfaces"; import type { SemanticVersion } from "../types"; /** * @file Lifecycles - notes * @module grease/lifecycles/notes */ /** * Generates release notes. * * Release notes can be blank, generated from a `CHANGELOG` file, in a special * birthday (first release) format, or skipped altogether. * * Throws an `Exception` if: * * - no package versions are found in the changelog content * - `version` is not in the changelog content * * @async * @param {IGreaseOptions} [options={}] - Application options * @param {SemanticVersion | NullishString} [version] - Latest package version * @return {Promise} Promise containing release notes or null * @throws {Exception} */ declare const Notes: (options?: IGreaseOptions, version?: SemanticVersion | NullishString) => Promise; export default Notes;