edb4fbaa2d24ecc428298acb76df11aebc13e2190aef056e886271bd77f15c7d7c6bdace3c9da9f302d7a66f836010761282b7d7c6042f71a719e7ce96b033 828 B

12345678910111213141516171819202122
  1. /// <reference types="node" />
  2. import * as fs from 'fs';
  3. import { FileSystemAdapter } from './adapters/fs';
  4. import { Options } from './managers/options';
  5. import { AsyncCallback } from './providers/stat';
  6. /**
  7. * Asynchronous API.
  8. */
  9. export declare function stat(path: fs.PathLike, opts?: Options): Promise<fs.Stats>;
  10. /**
  11. * Callback API.
  12. */
  13. export declare function statCallback(path: fs.PathLike, callback: AsyncCallback): void;
  14. export declare function statCallback(path: fs.PathLike, opts: Options, callback: AsyncCallback): void;
  15. /**
  16. * Synchronous API.
  17. */
  18. export declare function statSync(path: fs.PathLike, opts?: Options): fs.Stats;
  19. export declare type Options = Options;
  20. export declare type StatAsyncCallback = AsyncCallback;
  21. export declare type FileSystemAdapter = FileSystemAdapter;
  22. //# sourceMappingURL=index.d.ts.map