import { TwitterAuth } from './auth'; import { Profile } from './profile'; import { QueryProfilesResponse, QueryTweetsResponse } from './timeline-v1'; import { Tweet } from './tweets'; /** * The categories that can be used in Twitter searches. */ export declare enum SearchMode { Top = 0, Latest = 1, Photos = 2, Videos = 3, Users = 4 } export declare function searchTweets(query: string, maxTweets: number, searchMode: SearchMode, auth: TwitterAuth): AsyncGenerator; export declare function searchProfiles(query: string, maxProfiles: number, auth: TwitterAuth): AsyncGenerator; export declare function fetchSearchTweets(query: string, maxTweets: number, searchMode: SearchMode, auth: TwitterAuth, cursor?: string): Promise; export declare function fetchSearchProfiles(query: string, maxProfiles: number, auth: TwitterAuth, cursor?: string): Promise; //# sourceMappingURL=search.d.ts.map