/** * Clean up a stale branch (both remote and local). * Safe to delete both since no PR exists for this branch. * * Returns true if cleanup succeeded or should continue, false if should skip GHSA. */ export declare function cleanupStaleBranch(branch: string, ghsaId: string, cwd: string): Promise; /** * Clean up branches after PR creation failure. * Safe to delete both remote and local since no PR was created. */ export declare function cleanupFailedPrBranches(branch: string, cwd: string): Promise; /** * Clean up local branch after successful PR creation. * Keeps remote branch - PR needs it to be mergeable. */ export declare function cleanupSuccessfulPrLocalBranch(branch: string, cwd: string): Promise; /** * Clean up branches in catch block after unexpected error. * Safe to delete both remote and local since no PR was created. */ export declare function cleanupErrorBranches(branch: string, cwd: string, remoteBranchExists: boolean): Promise; //# sourceMappingURL=branch-cleanup.d.mts.map