import { type $Typed, type AppBskyActorDefs, type AppBskyFeedDefs, type AppBskyGraphDefs, type ChatBskyConvoDefs, } from '@atproto/api' import type * as Dialog from '#/components/Dialog' export type ReportSubject = | $Typed | $Typed | $Typed | $Typed | $Typed | $Typed | $Typed | {convoId: string; message: ChatBskyConvoDefs.MessageView} export type ParsedReportSubject = | { type: 'post' uri: string cid: string nsid: string attributes: { reply: boolean image: boolean video: boolean link: boolean quote: boolean } } | { type: 'list' uri: string cid: string nsid: string } | { type: 'feed' uri: string cid: string nsid: string } | { type: 'starterPack' uri: string cid: string nsid: string } | { type: 'account' did: string nsid: string } | { type: 'chatMessage' convoId: string message: ChatBskyConvoDefs.MessageView } export type ReportDialogProps = { control: Dialog.DialogOuterProps['control'] subject: ParsedReportSubject }