import { AbstractFlow } from '@mlytics/core-ts/utility/flow'; import { Resource } from '../../model/service/resource'; declare class P2PDownloadRecorder extends AbstractFlow { process(): Promise; protected _intakeRecord(): Promise; protected _forwardRecord(): Promise; static process(options: P2PDownloadRecorderOptions): Promise; } type P2PDownloadRecorderContent = P2PDownloadRecordBuilderOptions; type P2PDownloadRecorderOptions = P2PDownloadRecorderContent; type P2PDownloadRecordBuilderOptions = { peerID: string; peerType: string; resource: Resource; startSize: number; startTime: number; startPerfTime: number; endPerfTime: number; }; export { P2PDownloadRecorder };