UNPKG

node-diarization

Version:

Transcription and diarization using Whisper and Pyannote with NodeJS

10 lines (9 loc) 423 B
import { Options } from "./types/Options"; import { EventEmitter } from 'node:events'; import { Segment, ShellParsedResult } from "./types/TaskResult"; declare const recognition: (filePath: string, options?: Options, eventEmitter?: EventEmitter) => Promise<ShellParsedResult>; export declare const parseSegmentsChunks: (textChunk: string) => { textChunk: string; segments: Segment[]; }; export default recognition;