import type { Command } from "commander"; import type { Config } from "../types/index.js"; /** * submit-upstream command — the human-triggered step that turns a contribution * plan's fork draft PR into a real PR against the upstream repository. * * Resolves the plan by its tracking name (contribution plans often have no * issue number — the fork has issues disabled), posts the caller's local GitHub * token to `POST /api/v1/plans/:id/submit-upstream`, and the server copies the * fork PR's current title/body verbatim (rewriting only issue references) into * a new upstream PR, then advances the contribution stage to * `awaiting_maintainer`. */ export declare function submitUpstreamCommand(program: Command, config: Config): void; export declare function executeSubmitUpstream(config: Config, trackingName: string, options: { project?: string; }): Promise; //# sourceMappingURL=submit-upstream.d.ts.map