/** * Feature Service * * Provides feature and flow query operations. * Uses pre-computed data from testing-registry for O(1) operations. * * @module FeatureService */ import { TAGS_REGISTRY, type FeatureEntry, type FlowEntry, type FeatureCategory, type FlowCategory } from '@nextsparkjs/registries/testing-registry'; /** * Feature Service - Provides runtime feature/flow queries * * This service layer abstracts feature registry access, making the registry * a pure data structure (Data-Only pattern). All query logic lives here. * * Performance: All operations are O(1) or O(n) with zero I/O. */ export declare class FeatureService { /** * Get a feature by key */ static getFeature(key: string): FeatureEntry | undefined; /** * Get all features */ static getAllFeatures(): FeatureEntry[]; /** * Get features by category */ static getFeaturesByCategory(category: FeatureCategory): FeatureEntry[]; /** * Get features without test coverage */ static getFeaturesWithoutTests(): FeatureEntry[]; /** * Get features with test coverage */ static getFeaturesWithTests(): FeatureEntry[]; /** * Check if a feature exists */ static hasFeature(key: string): boolean; /** * Get feature tag from key */ static getFeatureTag(key: string): string; /** * Get a flow by key */ static getFlow(key: string): FlowEntry | undefined; /** * Get all flows */ static getAllFlows(): FlowEntry[]; /** * Get flows by category */ static getFlowsByCategory(category: FlowCategory): FlowEntry[]; /** * Get critical path flows */ static getCriticalFlows(): FlowEntry[]; /** * Get flows without test coverage */ static getFlowsWithoutTests(): FlowEntry[]; /** * Check if a flow exists */ static hasFlow(key: string): boolean; /** * Get flow tag from key */ static getFlowTag(key: string): string; /** * Get all tags in a category */ static getTagsByCategory(category: keyof typeof TAGS_REGISTRY): any; /** * Get all feature tags */ static getFeatureTags(): any; /** * Get all flow tags */ static getFlowTags(): any; /** * Get coverage summary */ static getCoverageSummary(): any; /** * Get feature coverage percentage */ static getFeatureCoveragePercent(): number; /** * Get flow coverage percentage */ static getFlowCoveragePercent(): number; } //# sourceMappingURL=feature.service.d.ts.map