UNPKG

snyk

Version:

snyk library and cli utility

8 lines (7 loc) 571 B
import { OrgFeatureFlagResponse } from './types'; import { Options } from '../types'; export declare const SHOW_MAVEN_BUILD_SCOPE = "show-maven-build-scope"; export declare const SHOW_NPM_SCOPE = "show-npm-scope"; 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>;