import { BaseClient } from './base.js'; import type { Tweet, PaginatedResult, User } from '../../types/twitter.js'; export type NotificationType = 'all' | 'mentions' | 'verified'; export interface Notification { id: string; timestampMs: string; icon: string; message?: string; url?: string; fromUsers: User[]; targetTweets: Tweet[]; type: string; } export interface NotificationResult { notifications: Notification[]; tweets: Tweet[]; cursor?: string; hasMore: boolean; } export declare class NotificationsMixin extends BaseClient { /** * Get all notifications */ getNotifications(count?: number, cursor?: string): Promise>; /** * Get only mention notifications */ getMentions(count?: number, cursor?: string): Promise>; /** * Get verified notifications (blue checkmark interactions) */ getVerifiedNotifications(count?: number, cursor?: string): Promise>; /** * Fetch notifications from the URT REST endpoint */ private fetchNotifications; /** * Get headers for notification requests (similar to GraphQL but for REST) */ private getNotificationHeaders; /** * Parse the URT notification response */ private parseNotificationResponse; } //# sourceMappingURL=notifications.d.ts.map