UNPKG

snyk

Version:

snyk library and cli utility

9 lines (8 loc) 654 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 const CLI_DOTNET_RUNTIME_RESOLUTION = "cliDotnetRuntimeResolution"; 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>;