//#region src/types.d.ts /** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ type Options = { lastCommit?: boolean; withAncestor?: boolean; changedSince?: string; includePaths?: Array; }; type Paths = Set; type Repos = { git: Paths; hg: Paths; sl: Paths; }; type ChangedFiles = { repos: Repos; changedFiles: Paths; }; type ChangedFilesPromise = Promise; //#endregion //#region src/index.d.ts declare const getChangedFilesForRoots: (roots: Array, options: Options) => ChangedFilesPromise; declare const findRepos: (roots: Array) => Promise; //#endregion export { ChangedFiles, ChangedFilesPromise, findRepos, getChangedFilesForRoots };