Files
mediaplex/index.d.ts
T
2023-07-15 18:36:43 +05:45

13 lines
301 B
TypeScript

import type { ProbeResult } from './lib/binding'
import type { Readable } from 'stream'
export type StreamProbeResult = {
stream: Readable;
result: ProbeResult;
};
export * from './lib/binding';
export function probeStream(
stream: Readable,
probeSize?: number
): Promise<StreamProbeResult>;