snyk
Version:
snyk library and cli utility
8 lines (7 loc) • 463 B
TypeScript
/// <reference types="node" />
import { CustomError } from '../../../../errors';
export declare function lookupLocal(iacCachePath: string, resourceName: string, userResourcePath: string | undefined, validResourceCondition: (path: string) => Promise<boolean>): Promise<string | undefined>;
export declare class InvalidUserPathError extends CustomError {
constructor(message: string);
}
export declare function fetchCacheResource(url: string): Promise<Buffer>;