UNPKG

@rolme/ytscript

Version:

A CLI tool to download YouTube transcripts and generate summaries

4 lines (3 loc) 281 B
import type { TranscriptResult } from '../../types/transcript.js'; import type { OutputOptions } from '../../types/output.js'; export declare function formatAndSaveOutput(result: TranscriptResult | Error, title: string, options?: OutputOptions, summary?: string): Promise<string>;