import type { RegistryScriptInput } from '#nuxt-scripts/types'; import { XEmbedOptions } from './schemas.js'; export { XEmbedOptions }; export interface XEmbedTweetData { id_str: string; text: string; created_at: string; favorite_count: number; conversation_count: number; user: { name: string; screen_name: string; profile_image_url_https: string; verified?: boolean; is_blue_verified?: boolean; }; entities?: { media?: Array<{ media_url_https: string; type: string; sizes: Record; }>; urls?: Array<{ url: string; expanded_url: string; display_url: string; }>; }; photos?: Array<{ url: string; width: number; height: number; }>; video?: { poster: string; variants: Array<{ type: string; src: string; }>; }; quoted_tweet?: XEmbedTweetData; parent?: { user: { screen_name: string; }; }; } export type XEmbedInput = RegistryScriptInput; /** * Format a tweet date for display */ export declare function formatTweetDate(dateString: string): string; /** * Format a number for display (e.g., 1234 -> 1.2K) */ export declare function formatCount(count: number): string;