/** * Frontend Feature Flags - Main Exports * * Service-based feature flag integration for frontend. * Use PlyazProvider hooks (useFlag, useFeatureFlags, useService) for React components. * @example * ```tsx * import { useFlag, useService, PlyazProvider } from '@plyaz/core/frontend'; * import { FeatureFlagDomainService } from '@plyaz/core/frontend/featureFlags'; * * // Using useFlag hook (simple boolean check) * function MyComponent() { * const isDarkMode = useFlag('DARK_MODE'); * return
...
; * } * * // Using FeatureFlagDomainService (full service access) * function AdvancedComponent() { * const flagService = useService('featureFlags'); * * const handleEvaluate = async () => { * const result = await flagService.evaluate('FEATURE_X', { userId: '123' }); * console.log('Evaluation:', result); * }; * * return ; * } * ``` * * @fileoverview Frontend feature flags exports * @version 2.0.0 */ export { FrontendFeatureFlagDomainService } from '../../domain/featureFlags/FrontendFeatureFlagDomainService'; //# sourceMappingURL=index.d.ts.map