utils.d.ts 463 B

1234567
  1. /// <reference types="node" />
  2. import { CustomError } from '../../../../errors';
  3. export declare function lookupLocal(iacCachePath: string, resourceName: string, userResourcePath: string | undefined, validResourceCondition: (path: string) => Promise<boolean>): Promise<string | undefined>;
  4. export declare class InvalidUserPathError extends CustomError {
  5. constructor(message: string);
  6. }
  7. export declare function fetchCacheResource(url: string): Promise<Buffer>;