import type { CommitBody } from '../value-object/commit-body.value-object'; import type { CommitHeader } from '../value-object/commit-header.value-object'; /** * Entity representing a complete commit message */ export declare class CommitMessage { private readonly BODY; private readonly HEADER; constructor(header: CommitHeader, body: CommitBody); /** * Get the commit body * @returns {CommitBody} The commit body */ getBody(): CommitBody; /** * Get breaking change text if present * @returns {string | undefined} The breaking change text or undefined */ getBreakingChange(): string | undefined; /** * Get the commit header * @returns {CommitHeader} The commit header */ getHeader(): CommitHeader; /** * Check if this is a breaking change * @returns {boolean} True if breaking change */ isBreakingChange(): boolean; /** * Format the complete commit message * Follows conventional commits format: *
* * * *