API/api.medcify.app/node_modules/snyk/dist/lib/polling/polling-monitor.d.ts
2022-09-26 11:41:44 +05:30

6 lines
628 B
TypeScript

import { Contributor, Options } from '../types';
import { MonitorDependenciesResponse, ScanResult } from '../ecosystems/types';
import { ResolutionMeta, ResolveFactsState } from './types';
export declare function requestMonitorPollingToken(options: Options, isAsync: boolean, scanResult: ScanResult): Promise<ResolveFactsState>;
export declare function pollingMonitorWithTokenUntilDone(token: string, isAsync: boolean, options: Options, pollInterval: number, attemptsCount: number, maxAttempts: number | undefined, resolutionMeta: ResolutionMeta | undefined, contributors?: Contributor[]): Promise<MonitorDependenciesResponse>;