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

6 lines
542 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
import { ScanResult } from '../ecosystems/types';
import { ResolutionMeta, ResolveAndMonitorFactsResponse, ResolveAndTestFactsResponse } from './types';
export declare function delayNextStep(attemptsCount: number, maxAttempts: number, pollInterval: number): Promise<void>;
export declare function extractResolutionMetaFromScanResult({ name, target, identity, policy, targetReference, }: ScanResult): ResolutionMeta;
export declare function handleProcessingStatus(response: ResolveAndMonitorFactsResponse | ResolveAndTestFactsResponse): void;