import type { BeachballOptions } from '../types/BeachballOptions'; /** * Ensure that adequate history is available to check for changes between HEAD and `options.branch`. * Otherwise attempting to get changes will fail with an error "no merge base". (This is mostly an * issue with CI builds that use shallow clones and may not have a tracking branch configured for * the remote target branch.) * * Since repo may be very large, it's important to avoid fetching the entire history or extra refs. * If the repo is shallow and no common commit is found after a normal fetch, this function will * iteratively deepen the history (100 commits at a time by default) and check for a common commit * each round. If still not found, it will unshallow the clone. * * Throws an error if history is inadequate and cannot be fixed. */ export declare function ensureSharedHistory(options: Pick): void; //# sourceMappingURL=ensureSharedHistory.d.ts.map