import { schema } from '@vibeflow/database'; import * as TwitterDatabaseService from '@vibeflow/core'; import { z } from 'zod'; declare const twitterAuthorSchema: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; declare const twitterTweetSchema: z.ZodObject<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">>; declare const lastTweetsApiResponseSchema: z.ZodObject<{ data: z.ZodObject<{ tweets: z.ZodArray; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "strip", z.ZodTypeAny, { tweets: z.objectOutputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">[]; }, { tweets: z.objectInputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">[]; }>; has_next_page: z.ZodBoolean; next_cursor: z.ZodNullable>; status: z.ZodString; msg: z.ZodString; }, "strip", z.ZodTypeAny, { status: string; data: { tweets: z.objectOutputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">[]; }; has_next_page: boolean; msg: string; next_cursor?: string | null | undefined; }, { status: string; data: { tweets: z.objectInputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">[]; }; has_next_page: boolean; msg: string; next_cursor?: string | null | undefined; }>; declare const twitterApiResponseSchema: z.ZodObject<{ tweets: z.ZodArray; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">>, "many">; has_next_page: z.ZodBoolean; next_cursor: z.ZodNullable>; status: z.ZodString; msg: z.ZodString; }, "strip", z.ZodTypeAny, { status: string; tweets: z.objectOutputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">[]; has_next_page: boolean; msg: string; next_cursor?: string | null | undefined; }, { status: string; tweets: z.objectInputType<{ type: z.ZodLiteral<"tweet">; id: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; text: z.ZodString; source: z.ZodString; retweetCount: z.ZodNumber; replyCount: z.ZodNumber; likeCount: z.ZodNumber; quoteCount: z.ZodNumber; viewCount: z.ZodNumber; createdAt: z.ZodString; lang: z.ZodString; bookmarkCount: z.ZodNumber; isReply: z.ZodBoolean; inReplyToId: z.ZodNullable>; conversationId: z.ZodNullable>; displayTextRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; inReplyToUserId: z.ZodNullable>; inReplyToUsername: z.ZodNullable>; author: z.ZodObject<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"user">; userName: z.ZodString; url: z.ZodString; twitterUrl: z.ZodString; id: z.ZodString; name: z.ZodString; isVerified: z.ZodBoolean; isBlueVerified: z.ZodBoolean; verifiedType: z.ZodNullable; profilePicture: z.ZodString; coverPicture: z.ZodOptional; description: z.ZodString; location: z.ZodString; followers: z.ZodNumber; following: z.ZodNumber; status: z.ZodString; canDm: z.ZodBoolean; canMediaTag: z.ZodBoolean; createdAt: z.ZodString; entities: z.ZodObject<{ description: z.ZodObject<{ urls: z.ZodArray; }, "strip", z.ZodTypeAny, { urls: unknown[]; }, { urls: unknown[]; }>; }, "strip", z.ZodTypeAny, { description: { urls: unknown[]; }; }, { description: { urls: unknown[]; }; }>; }, z.ZodTypeAny, "passthrough">>; extendedEntities: z.ZodObject<{ media: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { variants: { url: string; content_type: string; }[]; }, { variants: { url: string; content_type: string; }[]; }>>; }, "strip", z.ZodTypeAny, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }, { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }, { media?: { type: string; media_url_https: string; video_info?: { variants: { url: string; content_type: string; }[]; } | undefined; }[] | undefined; }>; }, z.ZodTypeAny, "passthrough">[]; has_next_page: boolean; msg: string; next_cursor?: string | null | undefined; }>; type TwitterApiAuthor = z.infer; type TwitterApiTweet = z.infer; type TwitterApiResponse = z.infer; type LastTweetsApiResponse = z.infer; declare const TWITTER_API_BASE_URL = "https://api.twitterapi.io"; declare const USER_MENTIONS_ENDPOINT = "/twitter/user/mentions"; declare const REPLIES_ENDPOINT = "/twitter/tweet/replies"; declare const LAST_TWEETS_ENDPOINT = "/twitter/user/last_tweets"; declare class TwitterClient { private readonly apiKey; constructor(apiKey: string); private makeRequest; mentions({ userName, sinceTime, cursor }: { userName: string; sinceTime: Date; cursor?: string; }): Promise; getReplies(tweetId: string, cursor?: string): Promise; getLastTweets(userName: string, cursor?: string): Promise; } interface BrandListenerConfig { userName: string; sinceTime: Date; maxPages?: number; cursor?: string; } interface UserLastTweetsConfig { userName: string; maxPages?: number; cursor?: string; } interface IngestionResult { success: boolean; totalTweets: number; pagesProcessed: number; nextCursor?: string; hasMorePages: boolean; error?: string; } type PaginatedFetchFunction = (cursor?: string) => Promise; type ProcessPageFunction = (tweets: schema.InsertTweet[], pageInfo: { pageCount: number; hasNextPage: boolean; }) => Promise; declare function hasUserRepliedToTweet({ tweetId, maxPages, cursor: initialCursor }: { tweetId: string; maxPages?: number; cursor?: string; }): Promise; declare function batchCheckIfUserRepliedToTweet(tweetIds: string[]): Promise; /** * Batch check that returns only the tweet IDs that have NOT been replied to */ declare function batchFilterNonRespondedTweets(tweetIds: string[]): Promise; /** * Batch check that returns comprehensive response status information */ declare function batchCheckResponseStatus(tweets: TwitterDatabaseService.TweetCandidate[]): Promise<{ respondedTweets: string[]; nonRespondedTweets: string[]; totalChecked: number; responseRate: number; }>; declare function checkIfUserRepliedToTweet(tweetId: string): Promise; declare function ingestMentions(config: BrandListenerConfig): Promise; declare function ingestUserLastTweets(config: UserLastTweetsConfig): Promise; declare function transformTwitterAnalyzerResponse(apiResponse: LastTweetsApiResponse): { tweets: schema.InsertTweetAnalyzerWithMedia[]; hasNextPage: boolean; nextCursor?: string | null; }; declare const computeEvs: (tweet: TwitterApiTweet) => number; declare function transformTweetToDbFormat(tweet: TwitterApiTweet, capturedAt?: Date): schema.InsertTweet; /** * Transform Twitter API response to database insert format */ declare function transformTwitterResponse(apiResponse: TwitterApiResponse): { tweets: schema.InsertTweet[]; hasNextPage: boolean; nextCursor?: string | null; }; interface TwitterAnalyserConfig { userName: string; maxPages?: number; apiKey?: string; databaseUrl?: string; } interface AnalysisResult { success: boolean; ingestionResult: IngestionResult; mediaProcessed: number; error?: string; } declare class TwitterAnalyser { private readonly userName; private readonly maxPages; private readonly apiKey; private readonly databaseUrl; constructor(config: TwitterAnalyserConfig); /** * Validate that all required configuration is present */ private validateConfiguration; /** * Run the complete Twitter analysis process */ run(): Promise; /** * Ingest the user's last tweets */ private ingestUserLastTweets; /** * Generate AI descriptions for media content in tweets */ private generateMediaDescriptions; /** * Get analysis statistics for the user */ getAnalysisStats(): Promise<{ totalTweets: number; mediaItems: number; processedMedia: number; }>; } export { type BrandListenerConfig, type IngestionResult, LAST_TWEETS_ENDPOINT, type LastTweetsApiResponse, type PaginatedFetchFunction, type ProcessPageFunction, REPLIES_ENDPOINT, TWITTER_API_BASE_URL, TwitterAnalyser, type TwitterApiAuthor, type TwitterApiResponse, type TwitterApiTweet, TwitterClient, USER_MENTIONS_ENDPOINT, type UserLastTweetsConfig, batchCheckIfUserRepliedToTweet, batchCheckResponseStatus, batchFilterNonRespondedTweets, checkIfUserRepliedToTweet, computeEvs, hasUserRepliedToTweet, ingestMentions, ingestUserLastTweets, lastTweetsApiResponseSchema, transformTweetToDbFormat, transformTwitterAnalyzerResponse, transformTwitterResponse, twitterApiResponseSchema, twitterAuthorSchema, twitterTweetSchema };