sources.d.ts 1.0 KB

1234567891011121314
  1. import { ArgsOptions } from '../../cli/args';
  2. export declare const INTEGRATION_NAME_ENVVAR = "SNYK_INTEGRATION_NAME";
  3. export declare const INTEGRATION_VERSION_ENVVAR = "SNYK_INTEGRATION_VERSION";
  4. export declare const INTEGRATION_ENVIRONMENT_ENVVAR = "SNYK_INTEGRATION_ENVIRONMENT";
  5. export declare const INTEGRATION_ENVIRONMENT_VERSION_ENVVAR = "SNYK_INTEGRATION_ENVIRONMENT_VERSION";
  6. export declare const getIntegrationName: (args: ArgsOptions[]) => string;
  7. export declare const getIntegrationVersion: (args: ArgsOptions[]) => string;
  8. export declare const getIntegrationEnvironment: (args: ArgsOptions[]) => string;
  9. export declare const getIntegrationEnvironmentVersion: (args: ArgsOptions[]) => string;
  10. export declare function isScoop(): boolean;
  11. export declare function validateScoopManifestFile(snykExecutablePath: string): boolean;
  12. export declare function isHomebrew(): boolean;
  13. export declare function validateHomebrew(snykExecutablePath: string): boolean;
  14. export declare function isInstalled(commandToCheck: string): Promise<boolean>;