/** * LLM Guard Implementation. * * Policy decorator over ILlmService. Enforces: * - Per-feature enable/disable toggles * - Monthly budget limits * - Usage recording after each call * * All LLM consumers should use ILlmGuard instead of ILlmService directly. * * Part of Phase 6B: Cost/Privacy Controls. */ import type { ILlmGuard } from '../../domain/interfaces/ILlmGuard'; import type { ILlmService } from '../../domain/interfaces/ILlmService'; import type { ILlmConfigService } from '../../domain/interfaces/ILlmConfigService'; import type { ILlmUsageTracker } from '../../domain/interfaces/ILlmUsageTracker'; import type { IPreferenceStore } from '../../domain/interfaces/IPreferenceStore'; import type { ILogger } from '../../domain/interfaces/ILogger'; /** * Create an LLM guard service. * * @param llmService - Underlying LLM service for completion calls * @param usageTracker - Usage tracker for recording and budget checks * @param configService - Config service for checking master switch * @param preferenceStore - Preference store for per-feature toggles * @param logger - Optional logger */ export declare function createLlmGuard(llmService: ILlmService, usageTracker: ILlmUsageTracker, configService: ILlmConfigService, preferenceStore: IPreferenceStore, logger?: ILogger): ILlmGuard; //# sourceMappingURL=LlmGuard.d.ts.map