import type { ILlmPromptContext, ILlmService } from '../../application/interface/llm-service.interface'; import type { LLMConfiguration } from '../../domain/entity/llm-configuration.entity'; import { CommitMessage } from '../../domain/entity/commit-message.entity'; /** * Mock LLM service for testing without real API calls * Activated when MOCK_LLM environment variable is set to "true" */ export declare class MockLlmService implements ILlmService { /** * Generate a mock commit message based on context analysis * @param {ILlmPromptContext} context - The context for generating the commit message * @param {LLMConfiguration} _configuration - The LLM configuration (unused in mock) * @returns {Promise} Promise resolving to the generated commit message */ generateCommitMessage(context: ILlmPromptContext, _configuration: LLMConfiguration): Promise; private extractFileName; /** * Extract a numeric value from commitlint rules * @param {unknown} rules - The commitlint rules * @param {string} ruleName - The name of the rule to extract * @returns {number | undefined} The numeric value or undefined */ private extractNumericRuleValue; private normalizeToken; private resolveBody; private resolveScope; private resolveSubject; private resolveType; private trimDashes; private trimTrailingDots; }