export interface PullRequestResult { ok: boolean; message: string; url?: string; } type Run = (command: string, args: string[], cwd: string) => Promise<{ exitCode: number; stdout: string; all: string; }>; /** * Validate the delivery branch before an agent starts changing it. * * `--pr` authorizes publishing, not guessing which changes belong in a PR. Requiring a clean, * named feature branch means Koneck can later create the PR without sweeping in existing edits or * publishing `main` by accident. */ export declare function preparePullRequest(cwd: string, exec?: Run): Promise; /** Create a PR only when the completed run left a clean branch with commits to publish. */ export declare function createPullRequest(cwd: string, exec?: Run): Promise; export {}; //# sourceMappingURL=pull-request.d.ts.map