export type FeatureFlagKey = string; export type FeatureFlag = { key: FeatureFlagKey; state: boolean; }; export interface FeatureFlagState { flags: Array | null; } export interface FeatureFlagRuntimeApi { getFeatureFlags: () => Promise; }