import { AudioStream, VideoStream } from '../types';
/**
 * Extract YouTube video ID from various URL formats
 */
export declare function extractVideoIdFromUrl(url: string): string | null;
/**
 * Validate if a URL is a supported YouTube URL
 */
export declare function validateYouTubeUrl(url: string): boolean;
/**
 * Calculate stream quality score based on multiple factors
 * Higher score = better quality
 */
export declare function getStreamQualityScore(stream: AudioStream | VideoStream): number;
/**
 * Find the best audio format from available streams
 */
export declare function findBestAudioFormat(audioStreams: AudioStream[]): AudioStream | null;
/**
 * Find the best video format from available streams
 */
export declare function findBestVideoFormat(videoStreams: VideoStream[]): VideoStream | null;
/**
 * Check if a stream format is encrypted (requires signature decryption)
 */
export declare function isEncryptedFormat(stream: AudioStream | VideoStream): boolean;
/**
 * Extract codec information from stream
 */
export declare function getFormatCodecInfo(stream: AudioStream | VideoStream): {
    container: string;
    videoCodec?: string;
    audioCodec?: string;
    hdr?: string;
};
//# sourceMappingURL=StreamUtils.d.ts.map