import type { InventoryPlanTier } from './plan-tier'; export interface FeatureDefinition { key: Key; minimumTier: InventoryPlanTier; release?: FeatureRelease; flagKeys?: readonly string[]; } export type ReleaseStage = 'off' | 'beta' | 'ga'; export interface FeatureRelease { stage: ReleaseStage; } export interface FeatureEvaluationContext { isFlagOn: (flagKey: string) => boolean; premium?: boolean; businessId?: string; locationId?: string; } export interface FeatureResult { enabled: boolean; disabled: boolean; stage: ReleaseStage; eligible: boolean; reason?: string; } export declare function defineFeature(definition: FeatureDefinition): FeatureDefinition; /** * Headless release and plan evaluator; it has no Vue or feature-vendor dependency. */ export declare function evaluateFeature(feature: FeatureDefinition, context: FeatureEvaluationContext): FeatureResult;