import { l } from '@atproto/lex'; import * as RichtextFacet from '../../../app/bsky/richtext/facet.defs.js'; import * as EmbedRecord from '../../../app/bsky/embed/record.defs.js'; import * as ActorDefs from '../actor/defs.defs.js'; declare const $nsid = "chat.bsky.convo.defs"; export { $nsid }; type MessageRef = { $type?: 'chat.bsky.convo.defs#messageRef'; did: l.DidString; convoId: string; messageId: string; }; export type { MessageRef }; declare const messageRef: l.TypedObjectSchema<"chat.bsky.convo.defs#messageRef", l.Validator>; export { messageRef }; type MessageInput = { $type?: 'chat.bsky.convo.defs#messageInput'; text: string; /** * Annotations of text (mentions, URLs, hashtags, etc) */ facets?: RichtextFacet.Main[]; embed?: l.$Typed | l.Unknown$TypedObject; }; export type { MessageInput }; declare const messageInput: l.TypedObjectSchema<"chat.bsky.convo.defs#messageInput", l.Validator>; export { messageInput }; type MessageView = { $type?: 'chat.bsky.convo.defs#messageView'; id: string; rev: string; text: string; /** * Annotations of text (mentions, URLs, hashtags, etc) */ facets?: RichtextFacet.Main[]; embed?: l.$Typed | l.Unknown$TypedObject; /** * Reactions to this message, in ascending order of creation time. */ reactions?: ReactionView[]; sender: MessageViewSender; sentAt: l.DatetimeString; }; export type { MessageView }; declare const messageView: l.TypedObjectSchema<"chat.bsky.convo.defs#messageView", l.Validator>; export { messageView }; type DeletedMessageView = { $type?: 'chat.bsky.convo.defs#deletedMessageView'; id: string; rev: string; sender: MessageViewSender; sentAt: l.DatetimeString; }; export type { DeletedMessageView }; declare const deletedMessageView: l.TypedObjectSchema<"chat.bsky.convo.defs#deletedMessageView", l.Validator>; export { deletedMessageView }; type MessageViewSender = { $type?: 'chat.bsky.convo.defs#messageViewSender'; did: l.DidString; }; export type { MessageViewSender }; declare const messageViewSender: l.TypedObjectSchema<"chat.bsky.convo.defs#messageViewSender", l.Validator>; export { messageViewSender }; type ReactionView = { $type?: 'chat.bsky.convo.defs#reactionView'; value: string; sender: ReactionViewSender; createdAt: l.DatetimeString; }; export type { ReactionView }; declare const reactionView: l.TypedObjectSchema<"chat.bsky.convo.defs#reactionView", l.Validator>; export { reactionView }; type ReactionViewSender = { $type?: 'chat.bsky.convo.defs#reactionViewSender'; did: l.DidString; }; export type { ReactionViewSender }; declare const reactionViewSender: l.TypedObjectSchema<"chat.bsky.convo.defs#reactionViewSender", l.Validator>; export { reactionViewSender }; type MessageAndReactionView = { $type?: 'chat.bsky.convo.defs#messageAndReactionView'; message: MessageView; reaction: ReactionView; }; export type { MessageAndReactionView }; declare const messageAndReactionView: l.TypedObjectSchema<"chat.bsky.convo.defs#messageAndReactionView", l.Validator>; export { messageAndReactionView }; type ConvoView = { $type?: 'chat.bsky.convo.defs#convoView'; id: string; rev: string; members: ActorDefs.ProfileViewBasic[]; lastMessage?: l.$Typed | l.$Typed | l.Unknown$TypedObject; lastReaction?: l.$Typed | l.Unknown$TypedObject; muted: boolean; status?: 'request' | 'accepted' | l.UnknownString; unreadCount: number; }; export type { ConvoView }; declare const convoView: l.TypedObjectSchema<"chat.bsky.convo.defs#convoView", l.Validator>; export { convoView }; type LogBeginConvo = { $type?: 'chat.bsky.convo.defs#logBeginConvo'; rev: string; convoId: string; }; export type { LogBeginConvo }; declare const logBeginConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logBeginConvo", l.Validator>; export { logBeginConvo }; type LogAcceptConvo = { $type?: 'chat.bsky.convo.defs#logAcceptConvo'; rev: string; convoId: string; }; export type { LogAcceptConvo }; declare const logAcceptConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logAcceptConvo", l.Validator>; export { logAcceptConvo }; type LogLeaveConvo = { $type?: 'chat.bsky.convo.defs#logLeaveConvo'; rev: string; convoId: string; }; export type { LogLeaveConvo }; declare const logLeaveConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logLeaveConvo", l.Validator>; export { logLeaveConvo }; type LogMuteConvo = { $type?: 'chat.bsky.convo.defs#logMuteConvo'; rev: string; convoId: string; }; export type { LogMuteConvo }; declare const logMuteConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logMuteConvo", l.Validator>; export { logMuteConvo }; type LogUnmuteConvo = { $type?: 'chat.bsky.convo.defs#logUnmuteConvo'; rev: string; convoId: string; }; export type { LogUnmuteConvo }; declare const logUnmuteConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logUnmuteConvo", l.Validator>; export { logUnmuteConvo }; type LogCreateMessage = { $type?: 'chat.bsky.convo.defs#logCreateMessage'; rev: string; convoId: string; message: l.$Typed | l.$Typed | l.Unknown$TypedObject; }; export type { LogCreateMessage }; declare const logCreateMessage: l.TypedObjectSchema<"chat.bsky.convo.defs#logCreateMessage", l.Validator>; export { logCreateMessage }; type LogDeleteMessage = { $type?: 'chat.bsky.convo.defs#logDeleteMessage'; rev: string; convoId: string; message: l.$Typed | l.$Typed | l.Unknown$TypedObject; }; export type { LogDeleteMessage }; declare const logDeleteMessage: l.TypedObjectSchema<"chat.bsky.convo.defs#logDeleteMessage", l.Validator>; export { logDeleteMessage }; type LogReadMessage = { $type?: 'chat.bsky.convo.defs#logReadMessage'; rev: string; convoId: string; message: l.$Typed | l.$Typed | l.Unknown$TypedObject; }; export type { LogReadMessage }; declare const logReadMessage: l.TypedObjectSchema<"chat.bsky.convo.defs#logReadMessage", l.Validator>; export { logReadMessage }; type LogAddReaction = { $type?: 'chat.bsky.convo.defs#logAddReaction'; rev: string; convoId: string; message: l.$Typed | l.$Typed | l.Unknown$TypedObject; reaction: ReactionView; }; export type { LogAddReaction }; declare const logAddReaction: l.TypedObjectSchema<"chat.bsky.convo.defs#logAddReaction", l.Validator>; export { logAddReaction }; type LogRemoveReaction = { $type?: 'chat.bsky.convo.defs#logRemoveReaction'; rev: string; convoId: string; message: l.$Typed | l.$Typed | l.Unknown$TypedObject; reaction: ReactionView; }; export type { LogRemoveReaction }; declare const logRemoveReaction: l.TypedObjectSchema<"chat.bsky.convo.defs#logRemoveReaction", l.Validator>; export { logRemoveReaction }; //# sourceMappingURL=defs.defs.d.ts.map