yt-dlx
Version:
Effortless Audio-Video Downloader And Streamer!
35 lines • 1.03 kB
TypeScript
import { z } from "zod";
import TubeResponse from "../../interfaces/TubeResponse";
declare const ZodSchema: z.ZodObject<{
cookies: z.ZodString;
verbose: z.ZodOptional<z.ZodBoolean>;
sort: z.ZodOptional<z.ZodEnum<["oldest", "newest", "old-to-new", "new-to-old"]>>;
}, "strip", z.ZodTypeAny, {
cookies: string;
verbose?: boolean | undefined;
sort?: "oldest" | "newest" | "old-to-new" | "new-to-old" | undefined;
}, {
cookies: string;
verbose?: boolean | undefined;
sort?: "oldest" | "newest" | "old-to-new" | "new-to-old" | undefined;
}>;
type WatchHistoryOptions = z.infer<typeof ZodSchema>;
interface Short {
title: string;
videoId: string;
thumbnails: any;
}
interface Video {
title: string;
videoId: string;
thumbnails: any;
description: string;
}
export default function watch_history(options: WatchHistoryOptions & {
verbose?: boolean;
}): Promise<TubeResponse<{
Shorts: Short[];
Videos: Video[];
}>>;
export {};
//# sourceMappingURL=History.d.ts.map