yt-dlx
Version:
Effortless Audio-Video Downloader And Streamer!
26 lines • 749 B
TypeScript
import { z } from "zod";
declare const ZodSchema: z.ZodObject<{
videoLink: z.ZodString;
verbose: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
videoLink: string;
verbose?: boolean | undefined;
}, {
videoLink: string;
verbose?: boolean | undefined;
}>;
export interface CaptionSegment {
utf8: string;
tOffsetMs?: number;
acAsrConf: number;
}
export interface VideoTranscriptType {
text: string;
start: number;
duration: number;
segments: CaptionSegment[];
}
type VideoTranscriptOptions = z.infer<typeof ZodSchema>;
export default function videoTranscript({ videoLink, verbose }: VideoTranscriptOptions): Promise<VideoTranscriptType[]>;
export {};
//# sourceMappingURL=Transcript.d.ts.map