import type { StreamMetrics } from "./types.js";
/**
 * Creates a transform stream that collects metrics from the input stream
 * @param stream The stream to collect metrics from
 * @returns A promise that resolves with the metrics when the stream ends
 */
export declare function collectStreamMetrics(stream: any | NodeJS.ReadableStream): Promise<StreamMetrics>;
//# sourceMappingURL=collectStreamMetrics.d.ts.map