import type { DiscoveryDateRange, DiscoveryOptions, HashtagDetail, HashtagVideo, MusicDateRange, TikTokClientOptions, TrendingHashtag, TrendingMusicTrack } from "./types.ts"; /** * Discovery API — advertiser-scoped endpoints for trending hashtags. * Uses advertiser_id (from Marketing API auth). */ export declare function createDiscovery(opts: DiscoveryOptions): { /** Get popular trending hashtags. */ getTrendingHashtags(opts?: { countryCode?: string; categoryName?: string; dateRange?: DiscoveryDateRange; }): Promise<{ filterInfo: Record; list: TrendingHashtag[]; }>; /** Get details of a specific popular hashtag. */ getHashtagDetail(hashtagId: string, opts: { countryCode: string; dateRange: DiscoveryDateRange; }): Promise; /** Get trending videos related to hashtags. Max 10 hashtag IDs. */ getHashtagVideos(hashtagIds: string[], opts?: { countryCode?: string; dateRange?: DiscoveryDateRange; }): Promise<{ hashtag_id: string; hashtag_name: string; top_video_list: HashtagVideo[]; }[]>; }; /** * Discovery API — business-scoped endpoints for commercial music and search keywords. * Uses business_id (from Organic API auth). */ export declare function createDiscoveryMusic(opts: TikTokClientOptions): { /** Get popular tracks from the commercial music library. */ getTrendingMusic(opts?: { genre?: string; countryCode?: string; dateRange?: MusicDateRange; }): Promise; /** Get trending videos that use a specific commercial music track. */ getMusicVideos(commercialMusicId: string, countryCode?: string): Promise<{ commercial_music_id: string; commercial_music_name: string; top_video_list: HashtagVideo[]; }>; /** Get trending search keywords (top 20). */ getTrendingSearchKeywords(isPersonalized?: boolean): Promise; /** Get recommended search keywords for a query (top 20). */ getRecommendedSearchKeywords(query: string, isPersonalized?: boolean): Promise; }; //# sourceMappingURL=discovery.d.ts.map