UNPKG

snyk

Version:

snyk library and cli utility

6 lines (5 loc) 443 B
import { OrgFeatureFlagResponse } from './types'; import { Options } from '../types'; export declare function isFeatureFlagSupportedForOrg(featureFlag: string, org: any): Promise<OrgFeatureFlagResponse>; export declare function hasFeatureFlag(featureFlag: string, options: Options): Promise<boolean | undefined>; export declare function hasFeatureFlagOrDefault(featureFlag: string, options: Options, defaultValue?: boolean): Promise<boolean>;