#!/usr/bin/env node import { VcsGitlabClient } from '../../../services/vcs-client/gitlab/vcs-gitlab-client.js'; type MainOpts = { project?: string; iid?: string; dryRun?: boolean; stdinJsonArray?: { discussionId: string; body: string; }[]; token?: string; remote?: { host: string; project: string; scheme: string; } | null; baseUrl?: string; vcs?: VcsGitlabClient; }; /** * @purpose Post replies to GitLab MR discussions: reads JSON array from stdin or opts, posts notes. * @param [opts] project, iid, dryRun, stdinJsonArray, token, remote, baseUrl, vcs (for tests). * @returns Object { ok, sent, failed, code }; code 0 on ok, otherwise 1. * @sideEffect Network: POST to GitLab Discussions API; Console: status and error output. * @consumer CLI (cmd/vcs-reply) */ export declare function main(opts?: MainOpts): Promise<{ ok: boolean; sent: number; failed: number; code: number; }>; export {};