export type Change = import("parse-diff").Change; export type Chunk = import("parse-diff").Chunk; export type File = import("parse-diff").File; export type Comment = { path: string; position: number; line: number; line_length: number; side: "LEFT" | "RIGHT"; start_line?: number; start_side?: "LEFT" | "RIGHT"; body: string; }; /** * Creates a comment that can be submitted to GitHub. * @param {string} file * @param {Chunk} chunk * @returns {Comment} */ export declare function makeComment(file: string, { changes, oldStart, oldLines }: Chunk): Comment; /** * Creates suggestions with specified diff. * @param {string} diff * @returns {Comment[]} */ export declare function makeComments(diff: string): Comment[];