export type IRequestOptions = import("azure-devops-node-api/interfaces/common/VsoBaseInterfaces.js").IRequestOptions; export type GitPullRequestChange = import("azure-devops-node-api/interfaces/GitInterfaces.js").GitPullRequestChange; export type GitPullRequestCommentThread = import("azure-devops-node-api/interfaces/GitInterfaces.js").GitPullRequestCommentThread; export type Comment = import("./makeComments.js").Comment; export type ChangeTrackingIdMap = { [filePath: string]: number; }; export type ChangeTrackingIdMapReducer = (changes: ChangeTrackingIdMap, change: GitPullRequestChange) => (ChangeTrackingIdMap); export type RequestOptions = IRequestOptions & { azdev?: typeof import("azure-devops-node-api"); }; export type PromiseReducer = (previous: Promise, current: T) => Promise; /** * Returns the item path (file path) of specified PR change, with the leading * '/' removed. * @param {GitPullRequestChange} change * @returns {string | undefined} */ export declare function getItemPath(change: GitPullRequestChange): string | undefined; /** * Submits a code review with suggestions with specified diff and options. * @param {string} diff * @param {import("./index.js").Options & RequestOptions} options * @returns {Promise} */ export declare function makeReview(diff: string, { fail, ...options }?: import("./index.js").Options & RequestOptions): Promise;