export declare class TwitterService { private client; constructor(token: string); search(request: SearchRequest): Promise; timeline(request: TimelineRequest): Promise; trends(request: TrendsRequest): Promise; user(request: UserRequest): Promise; } export interface Profile { created_at?: string; description?: string; followers?: number; id?: number; image_url?: string; location?: string; name?: string; private?: boolean; username?: string; verified?: boolean; } export interface SearchRequest { limit?: number; query?: string; } export interface SearchResponse { tweets?: Tweet[]; } export interface TimelineRequest { limit?: number; username?: string; } export interface TimelineResponse { tweets?: Tweet[]; } export interface Trend { name?: string; tweet_volume?: number; url?: string; } export interface TrendsRequest { } export interface TrendsResponse { trends?: Trend[]; } export interface Tweet { created_at?: string; favourited_count?: number; id?: number; retweeted_count?: number; text?: string; username?: string; } export interface UserRequest { username?: string; } export interface UserResponse { profile?: { [key: string]: any; }; status?: Tweet; }