import type { FeatureFlagManager } from './manager.js'; import type { FeatureInoperability } from './types.js'; export type FeatureFlagReader = Pick | null | undefined; /** * The declared reason a capability cannot operate in this build, or null when * it can. Surfaces read this to explain a control instead of offering one that * does nothing. */ export declare function featureInoperability(flagId: string): FeatureInoperability | null; export declare function isFeatureGateEnabled(featureFlags: FeatureFlagReader, flagId: string): boolean; export declare function requireFeatureGate(featureFlags: FeatureFlagReader, flagId: string, operation: string): void; export declare function surfaceFeatureGateId(surface: string): string | null; export declare function isSurfaceFeatureGateEnabled(featureFlags: FeatureFlagReader, surface: string): boolean; //# sourceMappingURL=gates.d.ts.map