import type { CommitMessage } from '../entity/commit-message.entity'; /** * Add ticket ID to commit message footer * If footer exists, appends the ticket reference to the end * If footer is empty, creates a new footer with the ticket reference * @param {CommitMessage} message - The commit message to update * @param {string} ticketId - The ticket ID to add (e.g., "CAS-25") * @returns {CommitMessage} A new CommitMessage instance with the updated footer * @example * // Without existing footer * addTicketIdToCommitMessage(commitMessage, "CAS-25") * // footer becomes: "Refs CAS-25." * * // With existing footer * addTicketIdToCommitMessage(commitMessage, "CAS-25") * // footer becomes: "Closes #123\nRefs CAS-25." */ export declare function addTicketIdToCommitMessage(message: CommitMessage, ticketId: string): CommitMessage;