import { Commit } from './types.js'; /** * Retrieve the list of commits on the current branch since the commit sha * associated with the last release, or all the commits of the current branch * if there is no last released version. Commits are filtered to only return * those that corresponding to the package directory. * * @param cwd Absolute path of the working directory the Git repo is in. * @param dir Path to the target directory to filter by. Either absolute, or * relative to cwd param. * @param lastRelease The SHA of the previous release (default to start of all * commits if undefined) * @param nextRelease The SHA of the next release (default to HEAD if undefined) * @param firstParentBranch first-parent to determine which merge into master */ export declare function getFilteredCommits(cwd: string, dir: string, lastRelease?: string, nextRelease?: string, firstParentBranch?: string): Promise;