import { DownloadOptions, VideoInfo } from './models'; import LRU from 'lru-cache'; /** * Gets info from a video without getting additional formats. */ export declare const _getBasicInfo: (id: string, options?: DownloadOptions) => Promise; /** * Gets info from a video additional formats and deciphered URLs. */ export declare const _getFullInfo: (id: string, options?: DownloadOptions) => Promise; export declare const cache: LRU; export declare const getBasicInfo: (id: string, options?: DownloadOptions) => Promise; export declare const getFullInfo: (id: string, options?: DownloadOptions) => Promise; export declare const validateID: (id: string) => boolean; export declare const validateURL: (string: string) => boolean; export declare const getURLVideoID: (link: string) => string | Error; export declare const getVideoID: (str: string) => string | Error;