export type YouTubeSearchType = 'music' | 'videoke' | 'live';
export declare const YOUTUBE_SEARCH_TYPES: readonly YouTubeSearchType[];
export declare const YOUTUBE_SEARCH_TYPE_LABELS: Record<YouTubeSearchType, string>;
export declare function parseYouTubeSearchType(value: unknown): YouTubeSearchType;
/** Build the query sent to YouTube Data API for each search mode. */
export declare function buildYouTubeSearchQuery(query: string, type: YouTubeSearchType): string;
/** Cache / rate-limit key — same guest query in different modes stays distinct. */
export declare function youtubeSearchCacheKey(query: string, type: YouTubeSearchType): string;
export declare function scoreYouTubeTitle(title: string, type: YouTubeSearchType): number;
/** Re-rank API hits so results match the selected tab. */
export declare function rankYouTubeSearchResults<T extends {
    title: string;
}>(results: T[], type: YouTubeSearchType, limit?: number): T[];
//# sourceMappingURL=youtube-search.d.ts.map