import { execFileSync } from 'node:child_process'; import { type PostReviewResult } from './post.mts'; export { createGhPostReviewIo, postWithGh } from './pull-io.mts'; export type GhExec = (args: readonly string[], options?: { input?: string; env?: NodeJS.ProcessEnv; }) => string; export declare function createGhExec(exec?: typeof execFileSync): GhExec; export declare function writePostedOutput(posted: boolean, commentCount: number, outputPath?: string | undefined): void; /** @deprecated Use postReviewWithTokenFromEnv or postClaudeReviewFromEnv explicitly. */ export declare function postReviewFromEnv(env?: NodeJS.ProcessEnv, exec?: GhExec, claudeIo?: import("./claude-token.mts").ClaudeTokenIo): Promise; export declare function postReviewWithTokenFromEnv(env?: NodeJS.ProcessEnv, exec?: GhExec, token?: string | undefined): PostReviewResult; export declare function postClaudeReviewFromEnv(env?: NodeJS.ProcessEnv, exec?: GhExec, claudeIo?: import("./claude-token.mts").ClaudeTokenIo): Promise;