Explorer.d.ts 550 B

1234567891011121314
  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. }
  13. export { Explorer };
  14. //# sourceMappingURL=Explorer.d.ts.map