/** * Value object representing a ticket identifier in KEY-NUMBER format. */ export declare class TicketId { private readonly KEY; private readonly NUMBER; private constructor(); /** * Try to create TicketId from raw string. * @param {string} value - Raw ticket id value. * @returns {TicketId | undefined} TicketId when format is valid. */ static tryCreate(value: string): TicketId | undefined; /** * Compare two ticket identifiers. * @param {TicketId} other - Ticket id to compare with. * @returns {boolean} True when both ids are equal. */ equals(other: TicketId): boolean; /** * Get ticket key part. * @returns {string} Alphabetic key. */ getKey(): string; /** * Get ticket numeric part. * @returns {string} Numeric part. */ getNumber(): string; /** * Format ticket id as string. * @returns {string} Ticket id in KEY-NUMBER format. */ toString(): string; }