import { type ReactNode } from 'react';
import type { FeatureFlagsState } from '../lib/feature-flags.js';
interface FeatureFlagsProviderProps {
    children: ReactNode;
    flags: FeatureFlagsState;
}
/**
 * Provides server-resolved feature flags to all client components.
 * Initialized in the root layout with values from the DB singleton,
 * avoiding client-side fallback to environment variables.
 */
export declare function FeatureFlagsProvider({ children, flags }: FeatureFlagsProviderProps): import("react/jsx-runtime").JSX.Element;
/**
 * Read feature flags from context. Returns all-flags-off defaults
 * when used outside a FeatureFlagsProvider (e.g., Storybook, tests).
 */
export declare function useFeatureFlags(): FeatureFlagsState;
export {};
//# sourceMappingURL=feature-flags-context.d.ts.map