/** * Pattern Service Factory for CLI * * Provides a convenient way to create a PatternService from the CLI context. * This enables CLI commands to use the new unified pattern system. * * @module services/pattern-service-factory */ import { PatternStore, type IPatternService } from 'driftdetect-core'; /** * Create a PatternService for CLI commands. * * The service auto-initializes on first use, so you don't need to * call initialize() manually. * * @example * ```typescript * const service = createCLIPatternService(rootDir); * const status = await service.getStatus(); * ``` * * @param rootDir The project root directory * @returns A PatternService instance */ export declare function createCLIPatternService(rootDir: string): IPatternService; /** * Create both a PatternStore and PatternService for CLI commands * that need access to both (for backward compatibility during migration). * * @param rootDir The project root directory * @returns Both the store and service */ export declare function createCLIPatternStoreAndService(rootDir: string): { store: PatternStore; service: IPatternService; }; //# sourceMappingURL=pattern-service-factory.d.ts.map