/** * Posts analysis results as a GitHub PR comment. * Uses the GitHub CLI (gh) for authentication and API access. */ import { type PRCommentData } from './formatPrComment'; interface PostPRCommentOptions { /** Analysis data to format and post */ data: PRCommentData; /** Update existing CDK Insights comment instead of creating new one */ updateExisting?: boolean; } /** * Posts or updates a PR comment with analysis results. * * Requirements: * - Must be running in GitHub Actions PR context * - gh CLI must be available and authenticated (automatic in GitHub Actions) * - GITHUB_TOKEN must have PR write permissions */ export declare const postPrComment: (options: PostPRCommentOptions) => Promise<{ success: boolean; commentUrl?: string; error?: string; }>; export type { PRCommentData } from './formatPrComment';