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

6 lines
542 B
TypeScript

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;