add-music-to-video
Version:
Add background music to my videos very easily
18 lines (17 loc) • 705 B
TypeScript
declare const channels: readonly [{
readonly title: "Local File System";
readonly value: "local";
}, {
readonly title: "Youtube";
readonly value: "youtube";
}];
type Channel = typeof channels[number]["value"];
export declare const selectVideoFile: ({ select, getLocalVideo, getYoutubeVideo, }?: {
select?: (() => Promise<Channel>) | undefined;
getLocalVideo?: ((root?: string | undefined) => Promise<string>) | undefined;
getYoutubeVideo?: (({ getYoutubeUrl, download, }?: {
getYoutubeUrl?: (() => Promise<string>) | undefined;
download?: ((url: string) => Promise<string>) | undefined;
}) => Promise<string>) | undefined;
}) => Promise<string>;
export {};