import { FlagValue, FlagEvaluation } from './types'; /** * Check if a single feature flag is enabled. * * @param flagKey - The feature flag key to check * @param defaultValue - Default value if flag not found (default: true — default-allow) * @returns Whether the flag is enabled */ export declare function useFeatureFlag(flagKey: string, defaultValue?: boolean): boolean; /** * Get the resolved value of a single feature flag. * * @param flagKey - The feature flag key * @param defaultValue - Default value if flag not found * @returns The resolved flag value * * @example * ```tsx * const maxItems = useFeatureFlagValue('max-items-per-page', 20); * const theme = useFeatureFlagValue('experiment-theme', 'default'); * ``` */ export declare function useFeatureFlagValue(flagKey: string, defaultValue: T): T; /** * Get full evaluation details for a single feature flag. * * Useful when you need the resolution reason, variant, or error code. * * @param flagKey - The feature flag key * @returns The evaluation details, or undefined if not found * * @example * ```tsx * const evaluation = useFeatureFlagDetails('ab-test-checkout'); * if (evaluation?.variant === 'variant-b') { * return ; * } * ``` */ export declare function useFeatureFlagDetails(flagKey: string): FlagEvaluation | undefined; //# sourceMappingURL=useFeatureFlag.d.ts.map