import type { FeatureFlag, FeatureFlagAllocationPercentile, FeatureFlagVariant, FeatureFlagWithVariants, FeatureFlagWithVariantsValidateOptions } from "../types.js"; /** * Check if the Feature flag is of type with-variants. */ export declare function checkIsFeatureFlagWithVariants(featureFlag: FeatureFlag): featureFlag is FeatureFlagWithVariants; /** * Validate the feature-flag object with variants and allocations. * * @param featureFlag Azure Feature Flag with Variants * @param options Options for validation * @returns the allocated variant */ export declare function validateFeatureFlagWithVariants(featureFlag: FeatureFlagWithVariants, options?: FeatureFlagWithVariantsValidateOptions): Promise; export declare function getVariantFromVariantMap(variantMap: Map, name: string): FeatureFlagVariant; export declare function verifyAllocationPercentile(percentiles: FeatureFlagAllocationPercentile[]): void;