index.d.ts 625 B

123456789101112
  1. import { DurationEvent } from './types/EventInterfaces';
  2. /**
  3. * This transformer can take in the path of the profile, the source map (optional) and the bundle file name (optional)
  4. * and return a promise which resolves to Chrome Dev Tools compatible events
  5. * @param profilePath string
  6. * @param sourceMapPath string
  7. * @param bundleFileName string
  8. * @return Promise<DurationEvent[]>
  9. */
  10. declare const transformer: (profilePath: string, sourceMapPath: string | undefined, bundleFileName: string | undefined) => Promise<DurationEvent[]>;
  11. export default transformer;
  12. export { SourceMap } from './types/SourceMap';