yt-dlx
Version:
Effortless Audio-Video Downloader And Streamer!
41 lines • 1.19 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 HomeFeedOptions = z.infer<typeof ZodSchema>;
interface Short {
title: string;
videoId: string;
thumbnails: any[];
}
interface Video {
type: string;
title: string;
videoId: string;
description: string;
thumbnails: any[];
authorId: string;
authorName: string;
authorThumbnails: any[];
authorBadges: any[];
authorUrl: string;
viewCount: string;
shortViewCount: string;
}
export default function home_feed(options: HomeFeedOptions): Promise<TubeResponse<{
Shorts: Short[];
Videos: Video[];
}>>;
export {};
//# sourceMappingURL=HomeFeed.d.ts.map