API/api.medcify.app/node_modules/snyk/dist/lib/polling/polling-test.d.ts

7 lines
552 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
import { Options } from '../types';
import { ScanResult } from '../ecosystems/types';
import { ResolveAndTestFactsResponse } from './types';
import { TestDependenciesResult } from '../snyk-test/legacy';
export declare function requestTestPollingToken(options: Options, isAsync: boolean, scanResult: ScanResult): Promise<ResolveAndTestFactsResponse>;
export declare function pollingTestWithTokenUntilDone(token: string, type: string, options: Options, pollInterval: number, attemptsCount: number, maxAttempts?: number): Promise<TestDependenciesResult>;