/**
 * GitHub implementation of the CheckStatusPoster interface.
 *
 * Posts check statuses to GitHub PRs using the Checks API for:
 * - Security holds (pending): "KiCI Security: Held for approval"
 * - Workflow modifications (neutral): "KiCI: Workflow changes detected"
 * - Approved runs (success) / Rejected/expired runs (failure)
 *
 * Reuses the Octokit infrastructure from auth.ts via createInstallationOctokit.
 * Uses a fixed check name per category so that subsequent updates (approve/reject)
 * can find and update the existing check run.
 */
import type { CheckStatusPoster, CheckStatus } from '@kici-dev/engine';
import type { Octokit } from '@octokit/rest';
import type { WorkflowModification } from '../../security/workflow-diff.js';
/**
 * GitHub CheckStatusPoster using the Checks API.
 *
 * Creates or updates check runs for security events. The check name
 * is fixed so that updates (approve/reject) modify the same check.
 */
export declare class GitHubCheckStatusPoster implements CheckStatusPoster {
    private readonly getOctokit;
    readonly provider: "github";
    constructor(getOctokit: (credentials: unknown) => Octokit);
    postCheckStatus(repoIdentifier: string, commitSha: string, status: CheckStatus, title: string, summary: string, credentials: unknown): Promise<void>;
    /**
     * Post an informational check for workflow modifications detected in a PR.
     *
     * Uses a separate check name ("KiCI: Workflow changes") so it doesn't
     * conflict with the security hold check. Always posted as neutral/completed.
     */
    postWorkflowModificationCheck(repoIdentifier: string, commitSha: string, modifications: WorkflowModification[], credentials: unknown): Promise<void>;
}
//# sourceMappingURL=check-status-poster.d.ts.map