import { User } from './user.js' import { Emoji } from './emoji.js' import { File } from './file.js' import { Poll } from './poll.js' export type Note = { id: string createdAt: string userId: string user: User text: string | null cw?: string | null visibility: NoteVisibility renoteCount: number repliesCount: number reactions: { [key: string]: number } emojis?: Array | null fileIds?: Array files?: Array replyId?: string | null renoteId?: string | null uri?: string reply?: Note renote?: Note tags?: Array poll?: Poll | null mentions?: Array myReaction?: string | null } export type NoteVisibility = 'public' | 'home' | 'followers' | 'specified' | 'hidden'