import { type PullRequestPacketV1 } from "../../deep-review/packet.js"; import type { DeepReviewResultV1 } from "../../deep-review/result-output.js"; import { type GitHubClient } from "./client.js"; export interface PublishDeepReviewOptions { readonly owner: string; readonly repo: string; readonly pullNumber: number; readonly resultPath: string; readonly packetPath: string; readonly github: GitHubClient; readonly checkRunId: string; readonly workflowRunUrl?: string; readonly artifactUrl?: string; } export interface PublishDeepReviewOutcome { readonly conclusion: "success" | "failure"; readonly postedCount: number; readonly updatedCount: number; readonly diagnostics: readonly { readonly id: string; readonly message: string; }[]; } export declare function readValidatedPublicationInputs(resultPath: string, packetPath: string): Promise<{ readonly result: DeepReviewResultV1; readonly packet: PullRequestPacketV1; }>; export declare function validatePublicationContext(result: DeepReviewResultV1, packet: PullRequestPacketV1, owner: string, repo: string, pullNumber: number): void; export declare function publishDeepReviewResult(options: PublishDeepReviewOptions): Promise; export interface StartDeepReviewCheckOptions { readonly owner: string; readonly repo: string; readonly headSha: string; readonly github: GitHubClient; } export interface StartDeepReviewCheckResult { readonly checkRunId: string; readonly reconciledRunIds: readonly string[]; } export declare function startDeepReviewCheck(options: StartDeepReviewCheckOptions): Promise; //# sourceMappingURL=publish.d.ts.map