yt-dlx
Version:
Effortless Audio-Video Downloader And Streamer!
44 lines • 1.7 kB
TypeScript
import { z } from "zod";
import { Readable } from "stream";
declare const ZodSchema: z.ZodObject<{
query: z.ZodString;
output: z.ZodOptional<z.ZodString>;
useTor: z.ZodOptional<z.ZodBoolean>;
stream: z.ZodOptional<z.ZodBoolean>;
verbose: z.ZodOptional<z.ZodBoolean>;
metadata: z.ZodOptional<z.ZodBoolean>;
showProgress: z.ZodOptional<z.ZodBoolean>;
filter: z.ZodOptional<z.ZodEnum<["invert", "rotate90", "rotate270", "grayscale", "rotate180", "flipVertical", "flipHorizontal"]>>;
resolution: z.ZodString;
}, "strip", z.ZodTypeAny, {
query: string;
resolution: string;
useTor?: boolean | undefined;
verbose?: boolean | undefined;
output?: string | undefined;
stream?: boolean | undefined;
metadata?: boolean | undefined;
showProgress?: boolean | undefined;
filter?: "invert" | "rotate90" | "rotate270" | "grayscale" | "rotate180" | "flipVertical" | "flipHorizontal" | undefined;
}, {
query: string;
resolution: string;
useTor?: boolean | undefined;
verbose?: boolean | undefined;
output?: string | undefined;
stream?: boolean | undefined;
metadata?: boolean | undefined;
showProgress?: boolean | undefined;
filter?: "invert" | "rotate90" | "rotate270" | "grayscale" | "rotate180" | "flipVertical" | "flipHorizontal" | undefined;
}>;
type VideoCustomOptions = z.infer<typeof ZodSchema>;
export default function VideoCustom({ query, output, useTor, stream, filter, metadata, verbose, resolution, showProgress, }: VideoCustomOptions): Promise<{
metadata: object;
} | {
outputPath: string;
} | {
stream: Readable;
filename: string;
}>;
export {};
//# sourceMappingURL=Custom.d.ts.map