import type { RequestFunction } from '../types.js'; interface TrendItem { readonly category?: string; readonly publishedAt?: string; readonly score?: number; readonly source?: string; readonly title: string; readonly url?: string; } interface RadarResponse { readonly items: readonly TrendItem[]; readonly total: number; } interface XTrendItem { readonly description?: string; readonly name: string; readonly query?: string; readonly rank?: number; } interface XTrendsResponse { readonly total: number; readonly trends: readonly XTrendItem[]; readonly woeid: number; } declare function formatTrends(radar: RadarResponse): string; declare function formatXTrends(response: XTrendsResponse): string; declare function mppTrendQuery(filter?: string): Readonly> | undefined; declare function handleXTrends(request: RequestFunction, filter?: string, mppMode?: boolean): Promise; export { formatTrends, formatXTrends, handleXTrends, mppTrendQuery };