/**
 * Git Fork Service Interface
 *
 * Output port for GitHub fork and upstream PR operations.
 * Used when forkAndPr=true to fork a repo, push to the fork,
 * and create a PR to the upstream repository.
 */
/**
 * Error codes for git fork operations.
 */
export var GitForkErrorCode;
(function (GitForkErrorCode) {
    GitForkErrorCode["AUTH_FAILURE"] = "AUTH_FAILURE";
    GitForkErrorCode["FORK_FAILED"] = "FORK_FAILED";
    GitForkErrorCode["PUSH_FAILED"] = "PUSH_FAILED";
    GitForkErrorCode["PR_CREATE_FAILED"] = "PR_CREATE_FAILED";
    GitForkErrorCode["PR_STATUS_FAILED"] = "PR_STATUS_FAILED";
})(GitForkErrorCode || (GitForkErrorCode = {}));
/**
 * Typed error for git fork operations.
 */
export class GitForkError extends Error {
    code;
    cause;
    constructor(message, code, cause) {
        super(message);
        this.code = code;
        this.cause = cause;
        this.name = 'GitForkError';
    }
}
