file-loader.d.ts 492 B

1234567891011
  1. import { IacFileData } from './types';
  2. import { CustomError } from '../../../../../lib/errors';
  3. export declare function loadContentForFiles(filePaths: string[]): Promise<IacFileData[]>;
  4. export declare function tryLoadFileData(pathToScan: string): Promise<IacFileData>;
  5. export declare class NoFilesToScanError extends CustomError {
  6. constructor(message?: string);
  7. }
  8. export declare class FailedToLoadFileError extends CustomError {
  9. filename: string;
  10. constructor(filename: string);
  11. }