import { TwitterResponse, UserSearchV2Params, UserSearchV2Result, UserV2, UserV2TimelineParams, UserV2TimelineResult } from '../types'; import { TimelineV2Paginator, TwitterV2Paginator } from './v2.paginator'; /** A generic PreviousableTwitterPaginator able to consume UserV2 timelines. */ declare abstract class UserTimelineV2Paginator extends TimelineV2Paginator { protected getItemArray(): UserV2[]; /** * Users returned by paginator. */ get users(): UserV2[]; get meta(): TResult["meta"]; } export declare class UserBlockingUsersV2Paginator extends UserTimelineV2Paginator { protected _endpoint: string; } export declare class UserMutingUsersV2Paginator extends UserTimelineV2Paginator { protected _endpoint: string; } export declare class UserFollowersV2Paginator extends UserTimelineV2Paginator { protected _endpoint: string; } export declare class UserFollowingV2Paginator extends UserTimelineV2Paginator { protected _endpoint: string; } export declare class UserListMembersV2Paginator extends UserTimelineV2Paginator { protected _endpoint: string; } export declare class UserListFollowersV2Paginator extends UserTimelineV2Paginator { protected _endpoint: string; } export declare class TweetLikingUsersV2Paginator extends UserTimelineV2Paginator { protected _endpoint: string; } export declare class TweetRetweetersUsersV2Paginator extends UserTimelineV2Paginator { protected _endpoint: string; } /** Users search pages with `next_token` instead of `pagination_token`, and its meta has no `result_count`. */ export declare class UserSearchV2Paginator extends TwitterV2Paginator { protected _endpoint: string; protected refreshInstanceFromResult(response: TwitterResponse, isNextPage: boolean): void; protected getNextQueryParams(maxResults?: number): { next_token: string | undefined; max_results?: number | undefined; query?: string | undefined; expansions?: string | import("../types").TUserV2Expansion[] | undefined; 'tweet.fields'?: string | (keyof import("../types").TweetV2)[] | undefined; 'user.fields'?: string | (keyof UserV2)[] | undefined; }; protected getPreviousQueryParams(maxResults?: number): { next_token: string | undefined; max_results?: number | undefined; query?: string | undefined; expansions?: string | import("../types").TUserV2Expansion[] | undefined; 'tweet.fields'?: string | (keyof import("../types").TweetV2)[] | undefined; 'user.fields'?: string | (keyof UserV2)[] | undefined; }; protected getPageLengthFromRequest(result: TwitterResponse): number; protected isFetchLastOver(result: TwitterResponse): boolean; protected canFetchNextPage(result: UserSearchV2Result): boolean; protected getItemArray(): UserV2[]; /** * Users returned by paginator. */ get users(): UserV2[]; get meta(): { next_token?: string | undefined; previous_token?: string | undefined; }; } export {};