import type { Comment } from "../schema.js"; import { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; type ReviewComment = RestEndpointMethodTypes["pulls"]["listReviewComments"]["response"]["data"][number]; type IssueComment = RestEndpointMethodTypes["issues"]["listComments"]["response"]["data"][number]; /** * Map GitHub review comments to our Comment type * @param reviewComments - Array of GitHub review comments * @param pr - Pull request information * @param pr.owner - Repository owner * @param pr.repo - Repository name * @param pr.number - Pull request number * @param nodeIdMap - Map of comment IDs to thread IDs * @returns Array of mapped Comment objects */ export declare function mapReviewComments(reviewComments: ReviewComment[], pr: { owner: string; repo: string; number: number; }, nodeIdMap: Map): Comment[]; /** * Map GitHub issue comments to our Comment type * @param issueComments - Array of GitHub issue comments * @param pr - Pull request information * @param pr.owner - Repository owner * @param pr.repo - Repository name * @param pr.number - Pull request number * @returns Array of mapped Comment objects */ export declare function mapIssueComments(issueComments: IssueComment[], pr: { owner: string; repo: string; number: number; }): Comment[]; export {}; //# sourceMappingURL=comment-mapper.d.ts.map