import { ISODuration, ParsedUrl } from '../types'; /** * @ignore */ export declare class Parser { static readonly youtubeUrlRegex: RegExp; static readonly channelIdRegex: RegExp; static readonly videoIdRegex: RegExp; static readonly playlistIdRegex: RegExp; static readonly channelHandleRegex: RegExp; /** * @returns False if parsing the URL failed */ static parseUrl(url: string): ParsedUrl | false; static parseIsoDuration(duration: string): ISODuration; }