import type { Writer } from '../types.js'; import { checkGhReady, postPrComment, resolveCurrentBranchPr } from '../../../agent/gh.js'; import { pushIfConfigured } from '../../../telegram/push.js'; export type PostTarget = 'github' | 'telegram'; export declare const REVIEW_MARKER = ""; export interface ParsedPostFlag { targets: PostTarget[]; cleanedArgs: string; unknown: string[]; } export declare function parsePostFlag(args: string): ParsedPostFlag; export declare function parsePostTargets(value: string): { targets: PostTarget[]; unknown: string[]; }; export declare function chunkText(text: string, limit: number): string[]; export declare function buildGithubBody(review: string): string; export declare function summarizeForTelegram(review: string): string; export interface ReviewPostDeps { checkGhReady: typeof checkGhReady; postPrComment: typeof postPrComment; resolveCurrentBranchPr: typeof resolveCurrentBranchPr; pushIfConfigured: typeof pushIfConfigured; } export interface RunReviewPostParams { targets: PostTarget[]; reviewText: string; prRefFromArgs: string | null; } export declare function runReviewPostPublish(out: Writer, params: RunReviewPostParams, deps?: Partial): Promise;