/** * GitHub Pull Request context detection for CI environments. * Extends ciDetection to provide PR-specific information. */ export interface GitHubPRContext { /** Whether we're in a GitHub Actions environment */ isGitHubActions: boolean; /** Whether this is a pull request event */ isPullRequest: boolean; /** PR number (if available) */ prNumber?: number; /** Repository owner */ repoOwner?: string; /** Repository name */ repoName?: string; /** Full repository path (owner/repo) */ repository?: string; /** Current commit SHA */ commitSha?: string; /** Base branch (target of PR) */ baseRef?: string; /** Head branch (source of PR) */ headRef?: string; /** GitHub event name */ eventName?: string; } /** * Detects GitHub Actions PR context from environment variables. * Returns detailed information about the current PR if running in GitHub Actions. */ export declare const getGitHubPRContext: () => GitHubPRContext; /** * Checks if we can post PR comments (have all required context). */ export declare const canPostPRComment: () => boolean;