Explorer.d.ts 573 B

123456789101112131415
  1. import { ExplorerBase } from './ExplorerBase';
  2. import { CosmiconfigResult, ExplorerOptions } from './types';
  3. declare class Explorer extends ExplorerBase<ExplorerOptions> {
  4. constructor(options: ExplorerOptions);
  5. search(searchFrom?: string): Promise<CosmiconfigResult>;
  6. private searchFromDirectory;
  7. private searchDirectory;
  8. private loadSearchPlace;
  9. private loadFileContent;
  10. private createCosmiconfigResult;
  11. load(filepath: string): Promise<CosmiconfigResult>;
  12. private _loadFile;
  13. }
  14. export { Explorer };
  15. //# sourceMappingURL=Explorer.d.ts.map