import { SearchOptions } from './Client'; interface MediaSource { name: string; search: (query: string, page?: unknown) => Promise; get: (sourceIDs: string[]) => Promise; import: (ctx: unknown, action: unknown) => Promise; } export interface YouTubeOptions { /** * Your YouTube API key. * * For information on how to configure your YouTube API access, see https://developers.google.com/youtube/v3/getting-started. */ key: string; /** * Options for the search endpoint. */ search?: Partial>>; } /** * The YouTube media source. Pass this function to `uw.source()`. */ export default function youTubeSource(_uw: unknown, opts: YouTubeOptions): MediaSource; export {};